PHP Fatal error when opcache JIT is enabled

[ad_1]

First at all, thank you for your useful and lightweight plugin.

With Opcache JIT enabled in php.ini, when I open your plugin page in the wp-admin, I get a critical error that appears in the JIT section.

PHP 8.2, log:

[21-Aug-2024 11:10:01 UTC] PHP Warning:  Undefined variable $tools in /wp-content/plugins/atec-cache-info/includes/atec-JIT-info.php on line 9
[21-Aug-2024 11:10:01 UTC] PHP Fatal error: Uncaught Error: Call to a member function pieBg() on null in /wp-content/plugins/atec-cache-info/includes/atec-JIT-info.php:9
Stack trace:
#0 /wp-content/plugins/atec-cache-info/includes/atec-cache-info-dashboard.php(131): ATEC_JIT_info->__construct()
#1 /wp-content/plugins/atec-cache-info/includes/atec-cache-info-dashboard.php(204): ATEC_wpci_results->__construct()
#2 /wp-content/plugins/atec-cache-info/includes/atec-wpci-install.php(20): require_once('/homepages/33/d...')
#3 /wp-includes/class-wp-hook.php(308): atec_wpci()
#4 /wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
#5 /wp-includes/plugin.php(517): WP_Hook->do_action()
#6 /wp-admin/admin.php(259): do_action()
#7 {main}
thrown in /wp-content/plugins/atec-cache-info/includes/atec-JIT-info.php on line 9

With Opcache disabled in php.ini, no errors.

Thank you.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer