Support

Account

Home Forums Front-end Issues Fatal error: Uncaught Error: Object of class WP_Term

Unread

Fatal error: Uncaught Error: Object of class WP_Term

  • Hello ACF community

    I recently updated the plugins on my site, but now im getting this error. I’m using ACF vers. 6.3.1 and Elementor Pro vers. 3.21.8 (among many others), but granted both are mentioned in the error message, I’m obviously inclined to believe the error is with one of those (or both), but since ACF is mentioned first, I thought perhaps it is the cause of the error – and sure enough, when I disable ACF, the error is gone, but that obviously causes some other problems for my site, so I am hoping to fix it with the help of this forum.

    The error I get is the following:

    Fatal error: Uncaught Error: Object of class WP_Term could not be converted to string in /var/www/museumkolding.dk/public_html/wp-content/plugins/advanced-custom-fields/includes/acf-value-functions.php:96 Stack trace: #0 /var/www/museumkolding.dk/public_html/wp-content/plugins/advanced-custom-fields/includes/api/api-template.php(242): acf_get_value(Object(WP_Term), Array) #1 /var/www/museumkolding.dk/public_html/wp-content/plugins/elementor-pro/modules/dynamic-tags/acf/dynamic-value-provider.php(48): get_field_object(‘field_61a746065…’, Object(WP_Term)) #2 /var/www/museumkolding.dk/public_html/wp-content/plugins/elementor-pro/modules/dynamic-tags/acf/dynamic-value-provider.php(32): ElementorPro\Modules\DynamicTags\ACF\Dynamic_Value_Provider->get_field_object(‘field_61a746065…’, Object(WP_Term)) #3 /var/www/museumkolding.dk/public_html/wp-content/plugins/elementor-pro/modules/dynamic-tags/acf/module.php(147): ElementorPro\Modules\DynamicTags\ACF\Dynamic_Value_Provider->get_value(‘field_61a746065…’) #4 /var/www/museum in /var/www/museumkolding.dk/public_html/wp-content/plugins/advanced-custom-fields/includes/acf-value-functions.php on line 96

    Thanks for your time in advance!

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.