• Resolved Dr. SEO

    (@drseo)


    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author A2 Hosting

    (@a2hosting)

    Thanks for the alert. We’ve just pushed out an update to confirm that the opcache_get_status() is available to your WordPress install prior to trying to use it.

    Thread Starter Dr. SEO

    (@drseo)

    I confirm that upgrade resolved the issue!
    Thank you for quick response!

    Rergards,
    Jozsef

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘php 8.x compatibility issue’ is closed to new replies.