-
AuthorPosts
-
March 3, 2026 at 1:47 pm #1495694
Hello
After updating to 7.1.4, a WordPress error occurs:
Ein Fehler vom Typ E_ERROR wurde in der Zeile 820 der Datei /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-content/plugins/wp-super-cache/wp-cache-phase2.php verursacht. Fehlermeldung: Uncaught Error: Call to undefined function get_blog_option() in /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-content/plugins/wp-super-cache/wp-cache-phase2.php:820 Stack trace: #0 /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-content/plugins/wp-super-cache/wp-cache-phase2.php(3079): get_supercache_dir() #1 /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-content/themes/enfold/includes/config-enfold/functions-framework.php(215): wp_cache_clear_cache() #2 /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-includes/class-wp-hook.php(341): avia_force_clear_caches() #3 /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters() #4 /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-includes/plugin.php(522): WP_Hook->do_action() #5 /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-content/themes/enfold/framework/php/auto-updates/class-avia-theme-data-updater.php(160): do_action() #6 /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-includes/class-wp-hook.php(341): aviaFramework\updates\Avia_Theme_Data_Updater->handler_update_version() #7 /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters() #8 /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-includes/plugin.php(522): WP_Hook->do_action() #9 /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-settings.php(764): do_action() #10 /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-config.php(72): require_once('...') #11 /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-load.php(50): require_once('...') #12 /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-admin/admin.php(35): require_once('...') #13 {main} thrownIf you reload the page, everything will be fine. However, you cannot save any changes in the theme anymore. Error:
Saving didnt work! Please reload the page and try againEverything still worked fine with version 7.1.3.
PHP: 8.3.30Regards
BerndMarch 3, 2026 at 5:04 pm #1495700Hey Bernd,
The error message seems to be generated by the super cache plugin. Try clearing all caches from it and deactivating it temporarily to see if that makes any difference.
Best regards,
RikardMarch 4, 2026 at 9:03 am #1495719Hey Rikard
I reset the super cache plugin from 3.0.3 to 3.0.2, 3.0.1, and finally to 3.0.0. However, the problem still persists.
If I deactivate the plugin, the problem is solved. But as far as I remember, the super cache plugin is one of the cache plugins the enfold theme recommend? We have installed it on almost all of our WordPress websites – except for those with WP-Rocket.
Regards,
BerndMarch 4, 2026 at 11:25 am #1495726Hi,
Thanks for the update. We don’t have any recommended plugins, all caching plugins should work with Enfold as far as I’m aware. Did you try to temporarily change your settings for file compression under Enfold->Performance? You could also try to activate the option to delete old CSS and JS files on the same page.
Best regards,
RikardMarch 4, 2026 at 2:26 pm #1495734Okay, not recommended, but suggested ;-) If no caching plugin is installed, the Enfold theme displays the following message in the Performance tab:
We couldn’t detect any active caching plugin. It is recommended to use one to speed up your site. Here are a few suggestions:
No matter what I do, when the Super Cache plugin is active, I can’t save the theme. The following error occurs:
AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function get_blog_option() in /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-content/plugins/wp-super-cache/wp-cache-phase2.php:820\nStack trace:\n#0 /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-content/plugins/wp-super-cache/wp-cache-phase2.php(3079): get_supercache_dir()\n#1 /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-content/themes/enfold/includes/config-enfold/functions-framework.php(215): wp_cache_clear_cache()\n#2 /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-includes/class-wp-hook.php(341): avia_force_clear_caches()\n#3 /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()\n#4 /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-includes/plugin.php(522): WP_Hook->do_action()\n#5 /var/www/vhosts/xxxxxxxxxxxx.xx/wordpresstest.xxxxxxxxxxxx.xx/wp-content/themes/enfold/framewo...', referer: https://wordpresstest.xxxxxxxxxxxx.xx/wp-admin/admin.php?page=aviaI understand that the error is related to the super cache plugin. But when I reset the theme from 7.1.4 to 7.1.3, everything works fine. To me, it looks like a combination error between Enfold 7.1.4 and the super cache plugin.
Regards,
BerndMarch 5, 2026 at 1:42 pm #1495777Hi,
Please try this in your child theme functions.php file:
function avf_before_force_clear_caches_callback() { return false; } add_filter( 'avf_before_force_clear_caches', 'avf_before_force_clear_caches_callback');Best regards,
RikardMarch 5, 2026 at 2:15 pm #1495782Hi Rikard,
Thanks, it works :-)
But do we have to insert this code snippet into each of our more than 250 WordPress websites with enfold…? Or is this planned for the next enfold update?
Regards,
Bernd -
AuthorPosts
- You must be logged in to reply to this topic.
