You may have this kind of error with WP Fastest Cache :
Warning: include_once(/wp-content/plugins/wp-fastest-cache-premium/pro/library/update.php): failed to open stream: No such file or directory in /wp-content/plugins/wp-fastest-cache-premium/wpFastestCachePremium.php on line 230
Warning: include_once(): Failed opening '/wp-content/plugins/wp-fastest-cache-premium/pro/library/update.php' for inclusion (include_path='.:/pear') in /wp-content/plugins/wp-fastest-cache-premium/wpFastestCachePremium.php on line 230
Fatal error: Uncaught Error: Class 'WpFastestCacheUpdate' not found in /wp-content/plugins/wp-fastest-cache-premium/wpFastestCachePremium.php:231 Stack trace: #0 /wp-admin/includes/plugin.php(2300): include() #1 /wp-admin/plugins.php(191): plugin_sandbox_scrape('wp-fastest-cach...') #2 {main} thrown in /wp-content/plugins/wp-fastest-cache-premium/wpFastestCachePremium.php on line 231
Or :
[proxy_fcgi:error] [pid 657015:tid 139755014584064] [client XXX.XXX.XXX.XXX:0] AH01071: Got error 'PHP message: PHP Fatal error: Allowed memory size of X bytes exhausted (tried to allocate 20480 bytes) in /wp-includes/meta.php on line 1078PHP message: PHP Fatal error: Allowed memory size of X bytes exhausted (tried to allocate 356352 bytes) in /wp-content/plugins/wp-fastest-cache/wpFastestCache.php on line 2064'
Or :
[error] 624#624: *223504 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class) must be of type object|string, array given in /wp-content/plugins/wp-fastest-cache/inc/cdn.php:371
Stack trace:
#0 /wp-content/plugins/wp-fastest-cache/inc/cdn.php(371): method_exists()
#1 /wp-content/plugins/wp-fastest-cache/wpFastestCache.php(547): CdnWPFC::check_url()
#2 /wp-includes/class-wp-hook.php(303): WpFastestCache->wpfc_check_url_ajax_request_callback()
#3 /wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters()
#4 /wp-includes/plugin.php(470): WP_Hook->do_action()
#5 /wp-admin/admin-ajax.php(187): do_action()
#6 {main}
thrown in /wp-content/plugins/wp-fastest-cache/inc/cdn.php on line 371" while reading response header from upstream, client: IP, server: website.com, request: "GET /wp-admin/admin-ajax.php?action=wpfc_check_url&url=https%3A%2F%2Fcdn.website.com&origin_url=https%3A%2F%2Fwebsite.com&type=other&_fs_blog_admin=true HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php8.0-fpm-.sock:", host: "website.com", referrer: "https://website.com/wp-admin/admin.php?page=wpfastestcacheoptions
Or :
PHP Fatal error: Uncaught Error: Object of class WP_Error could not be converted to string in \wp-includes\kses.php:1729
Stack trace:
#0 \wp-includes\kses.php(1729): preg_replace()
#1 \wp-includes\kses.php(1698): wp_kses_no_null()
#2 \wp-includes\class-wp-http.php(268): wp_kses_bad_protocol()
#3 \wp-includes\class-wp-http.php(632): WP_Http->request()
#4 \wp-includes\http.php(162): WP_Http->get()
#5 \wp-content\plugins\wp-fastest-cache\wpFastestCache.php(1618): wp_remote_get()
#6 \wp-content\plugins\wp-fastest-cache\inc\preload.php(480): WpFastestCache->wpfc_remote_get()
#7 \wp-content\plugins\wp-fastest-cache\wpFastestCache.php(1613): PreloadWPFC::create_preload_cache()
#8 \wp-includes\class-wp-hook.php(307): WpFastestCache->create_preload_cache()
#9 \wp-includes\class-wp-hook.php(331): WP_Hook->apply_filters()
#10 in \wp-includes\kses.php on line 1729
Or :
#0 /wp-includes/formatting.php(4553): wp_check_invalid_utf8(Object(WP_Error))
#1 /wp-content/plugins/wp-fastest-cache/inc/preload.php(490): esc_html(Object(WP_Error))
#2 /wp-content/plugins/wp-fastest-cache/wpFastestCache.php(1620): PreloadWPFC::create_preload_cache(Object(stdClass))
#3 /wp-includes/class-wp-hook.php(307): WpFastestCache->create_preload_cache()
#4 /wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(”, Array)
#5 /wp-includes/plugin.php(524): WP_Hook->do_action(Array)
#6 /home/parsmora/domains/parsmorakabat. in /wp-includes/formatting.php on line 1098
Or :
Warning: Undefined property: stdClass::$zone_id in /wp-content/plugins/wp-fastest-cache/inc/edn.php on line 227
Warning: Cannot modify header information – headers already sent by (output started at /wp-content/plugins/wp-fastest-cache/inc/cdn.php:227) in /wp-admin/post.php on line 231
Warning: Cannot modify header information – headers already sent by (output started at /wp-content/plugins/wp-fastest-cache/inc/cdn.php:227) in /wp-includes/pluggable.phponline1416
Warning: Cannot modify header information – headers already sent by (output started at /wp-content/plugins/wp-fastest-cache/inc/cdn.php:227) in /wp-includes/pluggable.phponline1419
Or :
PHP Warning: Undefined array key "HTTP_HOST" in /wp-content/plugins/wp-fastest-cache/inc/admin.php on line 703
PHP Stack trace:
PHP 1. {main}() /usr/local/bin/wp:0
PHP 2. include() /usr/local/bin/wp:4
PHP 3. include() phar:///usr/local/bin/wp/php/boot-phar.php:11
PHP 4. WP_CLI\bootstrap() phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php:32
PHP 5. WP_CLI\Bootstrap\LaunchRunner->process($state = class WP_CLI\Bootstrap\BootstrapState { private $state = ['context_manager' => class WP_CLI\ContextManager { … }] }) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php:78
PHP 6. WP_CLI\Runner->start() phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php:28
PHP 7. WP_CLI\Runner->run_command_and_exit($help_exit_warning = uninitialized) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:1256
PHP 8. WP_CLI\Runner->run_command($args = [0 => 'plugin', 1 => 'activate', 2 => 'wp-fastest-cache'], $assoc_args = [], $options = uninitialized) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:442
PHP 9. WP_CLI\Dispatcher\Subcommand->invoke($args = [0 => 'wp-fastest-cache'], $assoc_args = [], $extra_args = []) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:419
PHP 10. call_user_func:{phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php:491}($callback = class Closure { virtual $closure = "$this->WP_CLI\Dispatcher{closure}", public $static = ['callable' => […]]; public $parameter = ['$args' => '', '$assoc_args' => ''] }, …$args = variadic([])) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php:491
PHP 11. WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher{closure:phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php:97-104}($args = [0 => 'wp-fastest-cache'], $assoc_args = []) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php:491
PHP 12. call_user_func:{phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php:100}($callback = [0 => class Plugin_Command { protected $item_type = 'plugin'; protected $obj_fields = […]; protected $upgrade_refresh = 'wp_update_plugins'; protected $upgrade_transient = 'update_plugins'; protected $chained_command = FALSE; private ${WP_CLI\CommandWithUpgrade}map = […]; protected $fetcher = class WP_CLI\Fetchers\Plugin { … } }, 1 => 'activate'], …$args = variadic([])) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php:100
PHP 13. Plugin_Command->activate($args = [0 => 'wp-fastest-cache'], $assoc_args = []) phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php:100
PHP 14. activate_plugin($plugin = 'wp-fastest-cache/wpFastestCache.php', $redirect = '', $network_wide = NULL, $silent = uninitialized) phar:///usr/local/bin/wp/vendor/wp-cli/extension-command/src/Plugin_Command.php:347
PHP 15. do_action($hook_name = 'activate_wp-fastest-cache/wpFastestCache.php', …$arg = variadic(NULL)) /wp-admin/includes/plugin.php:691
PHP 16. WP_Hook->do_action($args = [0 => NULL]) /wp-includes/plugin.php:517
PHP 17. WP_Hook->apply_filters($value = '', $args = [0 => NULL]) /wp-includes/class-wp-hook.php:332
PHP 18. wpfastestcache_activate(NULL) /wp-includes/class-wp-hook.php:308
PHP 19. WpFastestCacheAdmin->modifyHtaccess($post = ['wpFastestCacheStatus' => 'on', 'wpFastestCachePreload_homepage' => 'on', 'wpFastestCachePreload_page' => 'on', 'wpFastestCachePreload_customposttypes' => 'on', 'wpFastestCachePreload_customTaxonomies' => 'on', 'wpFastestCachePreload_number' => '4', 'wpFastestCachePreload_restart' => 'on', 'wpFastestCachePreload_order' => 'homepage,post,category,page,tag,attachment,customposttypes,customTaxonomies,number,restart,order', 'wpFastestCacheNewPost' => 'on', 'wpFastestCacheNewPost_type' => 'all', 'wpFastestCacheUpdatePost' => 'on', 'wpFastestCacheUpdatePost_type' => 'post', 'wpFastestCacheMinifyHtml' => 'on', 'wpFastestCacheMinifyCss' => 'on', 'wpFastestCacheCombineCss' => 'on', 'wpFastestCacheCombineJs' => 'on', 'wpFastestCacheGzip' => 'on', 'wpFastestCacheLBC' => 'on', 'wpFastestCacheLanguage' => 'eng']) /wp-content/plugins/wp-fastest-cache/wpFastestCache.php:56
PHP 20. WpFastestCacheAdmin->insertRewriteRule($htaccess = '# BEGIN GzipWpFastestCache\n\nAddType x-font/woff .woff\nAddType x-font/ttf .ttf\nAddOutputFilterByType DEFLATE image/svg+xml\nAddOutputFilterByType DEFLATE text/plain\nAddOutputFilterByType DEFLATE text/html\nAddOutputFilterByType DEFLATE text/xml\nAddOutputFilterByType DEFLATE text/css\nAddOutputFilterByType DEFLATE text/javascript\nAddOutputFilterByType DEFLATE application/xml\nAddOutputFilterByType DEFLATE application/xhtml+xml\nAddOutputFilterByType DEFLATE application/rss+xml\nAddOutputFilt'…, $post = ['wpFastestCacheStatus' => 'on', 'wpFastestCachePreload_homepage' => 'on', 'wpFastestCachePreload_page' => 'on', 'wpFastestCachePreload_customposttypes' => 'on', 'wpFastestCachePreload_customTaxonomies' => 'on', 'wpFastestCachePreload_number' => '4', 'wpFastestCachePreload_restart' => 'on', 'wpFastestCachePreload_order' => 'homepage,post,category,page,tag,attachment,customposttypes,customTaxonomies,number,restart,order', 'wpFastestCacheNewPost' => 'on', 'wpFastestCacheNewPost_type' => 'all', 'wpFastestCacheUpdatePost' => 'on', 'wpFastestCacheUpdatePost_type' => 'post', 'wpFastestCacheMinifyHtml' => 'on', 'wpFastestCacheMinifyCss' => 'on', 'wpFastestCacheCombineCss' => 'on', 'wpFastestCacheCombineJs' => 'on', 'wpFastestCacheGzip' => 'on', 'wpFastestCacheLBC' => 'on', 'wpFastestCacheLanguage' => 'eng']) /wp-content/plugins/wp-fastest-cache/inc/admin.php:424
PHP 21. WpFastestCacheAdmin->getHtaccess() /wp-content/plugins/wp-fastest-cache/inc/admin.php:677
PHP 22. WpFastestCacheAdmin->prefixRedirect() /wp-content/plugins/wp-fastest-cache/inc/admin.php:765
Plugin 'wp-fastest-cache' activated.
Or :
Warning: Undefined property: stdClass::$zone_id in /wp-content/plugins/wp-fastest-cache/inc/edn.php on line 227
Warning: Cannot modify header information – headers already sent by (output started at /wp-content/plugins/wp-fastest-cache/inc/cdn.php:227) in /wp-admin/post.php on line 231
Warning: Cannot modify header information – headers already sent by (output started at /wp-content/plugins/wp-fastest-cache/inc/cdn.php:227) in /wp-includes/pluggable.phponline1416
Warning: Cannot modify header information – headers already sent by (output started at /wp-content/plugins/wp-fastest-cache/inc/cdn.php:227) in /wp-includes/pluggable.phponline1419
Or :
Notice: Undefined variable: order_arr in /wp-content/plugins/wp-fastest-cache/inc/preload.php on line 161
Notice: Undefined property: stdClass::$go in /wp-content/plugins/wp-fastest-cache/inc/preload.php on line 440
There are multiple solutions to try to make it work.
Updates
The first thing to do if you are stuck with WP Fastest Cache is to ensure that all your WordPress is up to date. You should check your :
- WordPress
- Plugins
- Theme
Once all these updates are done, check back if these errors appear.
Check WP Fastest Cache
Sometimes, you just need to disable the plugin, and enable it just after to make it work again.
If it doesn’t work, your WP Fastest Cache plugin may be corrupted. To ensure that it’s not your case, you have to re-download the plugin (or the theme delivered with the plugin) and try to install it again.
Check others plugins
Are you sure that the error is related to WP Fastest Cache? Maybe not.
It could be related to another plugin that is not compatible. It could happen when you use a cache plugin, a security plugin, or simply a poorly developed plugin.
Disable all plugins. Then, check for your error, if the error is still there, the problem is not related to plugins compatibility. If there are no more errors, then enable every plugin one by one and check for the error. The goal is to target the plugin involved.
Try another theme
The error can be a problem with your theme.
If it’s not already done, then you should install & activate the default WordPress theme like Twenty Twenty-Two. Check for the error, and see what is happening to be sure that your WordPress theme is not the cause.
Permalinks & htaccess
If it doesn’t work, you may have a problem with your WordPress permalinks and/or your htaccess file. You should go on your WordPress dashboard, and re-saving permalinks from the permalinks page.
Contact the developer
If all these solutions don’t work, we advise you to contact the plugin developer.
You may have found a new bug, or a specific issue. You should get in touch with the developer either on the WordPress plugin forum, either by mail, either on their specific website with their own support.
Alternative solutions
If the developer doesn’t reply, or your problem is very urgent, then you should try an alternative to the plugin.
There are thousands of plugins on the official directory, and many others outside. You should try to find and test them!
If the issue is very specific, and the plugin could not be replaced, we advise you to contact an expert.
This is the best way to ensure you're not going to break your site anymore.