Fatal Error When Calling get_objects() Method
-
Hello Amazing Support Team,
I am experiencing a fatal error on my site when using the SWCFPC plugin. The error occurs when calling the
get_objects()
method within theadvanced-cache.php
file. Below are the details of the error:.PHP Fatal error: Uncaught Error: Call to undefined method SW_CLOUDFLARE_PAGECACHE::get_objects() in /home/your_site/public_html/wp-content/advanced-cache.php:125 Stack trace: #0 [internal function]: swcfpc_fallback_cache_end() #1 /home/your_site/public_html/wp-includes/functions.php(5420): ob_end_flush() #2 /home/your_site/public_html/wp-includes/class-wp-hook.php(324): wp_ob_end_flush_all() #3 /home/your_site/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #4 /home/your_site/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #5 /home/your_site/public_html/wp-includes/load.php(1270): do_action() #6 [internal function]: shutdown_action_hook() #7 {main} thrown in /home/your_site/public_html/wp-content/advanced-cache.php on line 125
It appears that the
get_objects()
method is not defined in theSW_CLOUDFLARE_PAGECACHE
class, which is causing the error.Could you please provide guidance on how to resolve this issue? Is there an update or a patch available for the plugin that addresses this problem?
I had to disable Fallback on all sites.
Thank you for your assistance.
Best regards,
- You must be logged in to reply to this topic.