Conversation
supportAt some point recently we started getting the following fatal error, which references Divi, but only occurs when SEOPress is active: PHP Fatal error: Uncaught Error: Call to a member function get_fields() on null in /home/example/domains/example.com/public_html/wp-content/themes/Divi/includes/builder/class-et-builder-element.php:4932\nStack trace:\n#0 /home/example/domains/example.com/public_html/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(4320): ET_Builder_Element->_add_font_fields()\n#1 /home/example/domains/example.com/public_html/wp-content/themes/Divi/includes/builder/class-et-builder-element.php(1010): ET_Builder_Element->_add_additional_fields()\n#2 /home/example/domains/example.com/public_html/wp-content/plugins/toolset-blocks/vendor/toolset/divi/includes/loader.php(11): ET_Builder_Element->__construct()\n#3 /home/example/domains/example.com/public_html/wp-content/themes/Divi/includes/builder/api/DiviExtension.php(250): require_once('/home/example/…')\n#4 /home/example/domains/example.com/public_html/wp-includes/class-wp-hook.php(341): DiviExtension->hook_et_builder_ready()\n#5 /home/example/domains/example.com/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()\n#6 /home/example/domains/example.com/public_html/wp-includes/plugin.php(522): WP_Hook->do_action()\n#7 /home/example/domains/example.com/public_html/wp-content/themes/Divi/includes/builder/framework.php(861): do_action()\n#8 /home/example/domains/example.com/public_html/wp-includes/class-wp-hook.php(341): et_builder_add_main_elements()\n#9 /home/example/domains/example.com/public_html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()\n#10 /home/example/domains/example.com/public_html/wp-includes/plugin.php(522): WP_Hook->do_action()\n#11 /home/example/domains/example.com/public_html/wp-settings.php(793): do_action()\n#12 /home/example/domains/example.com/public_html/wp-config.php(90): require_once('/home/example/…')\n#13 /home/example/domains/example.com/public_html/wp-load.php(50): require_once('/home/example/…')\n#14 /home/example/domains/example.com/public_html/wp-admin/admin.php(35): require_once('/home/example/…')\n#15 /home/example/domains/example.com/public_html/wp-admin/themes.php(10): require_once('/home/example/…')\n#16 {main}\n thrown in /home/example/domains/example.com/public_html/wp-content/themes/Divi/includes/builder/class-et-builder-element.php on line 4932\n The site is using Divi 4.27.6, and has SEOPress 9.9.2 and SEOPress Pro 9.9.2. The base SEOPress plugin seems to be the trigger, when that is disabled things work fine. I tried rolling back to previous versions, that didn’t seem to help. I also uploaded fresh copies of both SEOPress plugins in case any files had been corrupted, but that didn’t help either. Any idea what might be happening there?
Hi, get_fields() is a function used by ACF plugin ( https://www.advancedcustomfields.com/resources/get_fields/ ). It seems not related to SEOPress. But maybe you’re using this dynamic variable somewhere in your title / meta desc that might trigger this (not 100% sure): %%_cf_your_custom_field_key%%
Hi, get_fields() is a function used by ACF plugin ( https://www.advancedcustomfields.com/resources/get_fields/ ). It seems not related to SEOPress. But maybe you’re using this dynamic variable somewhere in your title / meta desc that might trigger this (not 100% sure): %%_cf_your_custom_field_key%%