Blank page on output, no data
Tried installing this one on a system with php 8.1 and Zend opcache
PHP 8.1.31 (cli) (built: Mar 11 2025 22:08:56) (NTS) Zend Engine v4.1.31 with the ionCube PHP Loader v14.4.0, Copyright (c) 2002-2025, by ionCube Ltd. with Zend OPcache v8.1.31.
It's only throwing blank pages, error log ways various php warnings, and 1 fatal error:
PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home/admin/domains/mydomain.nl/public_html/opcache.php:132\nStack trace:\n#0 /home/admin/domains/mydomain.nl/public_html/opcache.php(435): OpCacheDataModel->getScriptStatusCount()\n#1 {main}\n thrown in /home/admin/domains/mydomain.nl/public_html/opcache.php on line 132'
I renamed index.php to opcache.php but even when cloning the complete git in another directory it has the same issue.
Tried with php 8.3 too, same kind of error:
PHP Fatal error: Uncaught TypeError: array_diff_key(): Argument #2 must be of type array, null given in index.php line 331
Same here Two warning but a blank page Warning: Undefined array key "jit" in /var/www/html/vendor/amnuts/opcache-gui/src/Opcache/Service.php on line 448 Warning: Trying to access array offset on value of type null in /var/www/html/vendor/amnuts/opcache-gui/src/Opcache/Service.php on line 448
I've just been going over the issues - apologies for the length of time taken to do so! - and the error message:
PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home/admin/domains/mydomain.nl/public_html/opcache.php:132
Stack trace:
#0 /home/admin/domains/mydomain.nl/public_html/opcache.php(435): OpCacheDataModel->getScriptStatusCount()
#1 {main}
thrown in /home/admin/domains/mydomain.nl/public_html/opcache.php on line 132'
mentioned function that just aren't in the OpCache GUI, specifically count and getScriptStatusCount, and it doesn't use the class name of OpCacheDataModel.
Are you sure it's my gui you're using? Or you're not using it through some kind of additional wrapper that's causing the issues?