php 8.x compatibility issue
-
Hi Support Team,
I switched php version from 7.4 to 8.0 and you plugin generated an error.
This plugin failed to load properly and is paused during recovery mode.
An error of type E_ERROR was caused in line 358 of the file /home/##my_domain_path##/wp-content/plugins/a2-optimized-wp/A2_Optimized_SiteHealth.php. Error message: Uncaught Error: Call to undefined function opcache_get_status() in /home/##my_domain_path##/wp-content/plugins/a2-optimized-wp/A2_Optimized_SiteHealth.php:358 Stack trace: #0 /home/##my_domain_path##/wp-admin/includes/class-wp-site-health.php(192): A2_Optimized_SiteHealth->a2opt_phpopcache_test() #1 /home/##my_domain_path##/wp-admin/includes/class-wp-site-health.php(143): WP_Site_Health->perform_test() #2 /home/##my_domain_path##/wp-includes/class-wp-hook.php(307): WP_Site_Health->enqueue_scripts() #3 /home/##my_domain_path##/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #4 /home/##my_domain_path##/wp-includes/plugin.php(474): WP_Hook->do_action() #5 /home/##my_domain_path##/wp-admin/admin-header.php(118): do_action() #6 /home/##my_domain_path##/wp-admin/site-health.php(96): require_once(‘/home/##my_domain_path##/…’) #7 {main} thrown
Please check and correct!
Regards,
Jozsef
- The topic ‘php 8.x compatibility issue’ is closed to new replies.