Critical error when plugin deactivated
-
Hi there guys,
I was hoping you could please help me with the following error I’m getting when I try to deactivate the plugin:
Current plugin: Super Page Cache for Cloudflare (version 4.7.3)
PHP version 8.2.5Error Details
=============
An error of type E_ERROR was caused in line 3157 of the file /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/wp-cloudflare-page-cache/libs/cache_controller.class.php. Error message: Uncaught Error: Call to undefined function opcache_get_status() in /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/wp-cloudflare-page-cache/libs/cache_controller.class.php:3157
Stack trace:
#0 /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/wp-cloudflare-page-cache/libs/cache_controller.class.php(693): SWCFPC_Cache_Controller->purge_opcache()
#1 /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/wp-cloudflare-page-cache/libs/cache_controller.class.php(1167): SWCFPC_Cache_Controller->purge_all()
#2 /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/wp-cloudflare-page-cache/wp-cloudflare-super-page-cache.php(1063): SWCFPC_Cache_Controller->reset_all()
#3 /var/www/vhosts/domain.com/httpdocs/wp-includes/class-wp-hook.php(308): SW_CLOUDFLARE_PAGECACHE->deactivate_plugin()
#4 /var/www/vhosts/domain.com/httpdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#5 /var/www/vhosts/domain.com/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
#6 /var/www/vhosts/domain.com/httpdocs/wp-admin/includes/plugin.php(814): do_action()
#7 /var/www/vhosts/domain.com/httpdocs/wp-admin/plugins.php(209): deactivate_plugins()
#8 {main}
thrownMy server log then gives me this error:
Code 499
POST /wp-admin/admin-ajax.php?action=as_async_request_queue_runner&nonce=39619995f8 HTTP/2.0Code: 500
GET /wp-admin/plugins.php?action=deactivate&plugin=wp-cloudflare-page-cache%2Fwp-cloudflare-super-page-cache.php&plugin_status=all&paged=1&s&_wpnonce=9ced0b4273 HTTP/2.0As well as this warning:
429901#0: *941324 FastCGI sent in stderr: “PHP message: PHP Warning: Array to string conversion in /var/www/vhosts/domain.com/httpdocs/wp-includes/pluggable.php on line 2292; PHP message: PHP Fatal error: Uncaught Error: Call to undefined function opcache_get_status() in /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/wp-cloudflare-page-cache/libs/cache_controller.class.php:3157
Stack trace:
#0 /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/wp-cloudflare-page-cache/libs/cache_controller.class.php(693): SWCFPC_Cache_Controller->purge_opcache()
#1 /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/wp-cloudflare-page-cache/libs/cache_controller.class.php(1167): SWCFPC_Cache_Controller->purge_all()
#2 /var/www/vhosts/domain.com/httpdocs/wp-content/plugins/wp-cloudflare-page-cache/wp-cloudflare-super-page-cache.php(1063): SWCFPC_Cache_Controller->reset_all()
#3 /var/www/vhosts/domain.com/httpdocs/wp-includes/class-wp-hook.php(308): SW_CLOUDFLARE_PAGECACHE->deactivate_plugin()
#4 /var/www/vhosts/domain.com/httpdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#5 /var/www/vhosts/domain.com/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action()” while reading response header from upstreamAny ideas what could be happing and how to fix it?
Many thanks,
Jo
The topic ‘Critical error when plugin deactivated’ is closed to new replies.