rlerdorf / opcache-status

A one-page opcache status page
1.56k stars 377 forks source link

Notice during opcache restart #25

Closed pako-pl closed 7 years ago

pako-pl commented 10 years ago

The following function in the opcache.php script generates a PHP notice during an OpCache restart:

public function getScriptStatusCount() { return count($this->_status["scripts"]); }

The 'scripts' key is not set when an opcache restart is pending after calling opcache_reset().

cfoellmann commented 7 years ago

can you open an issue/PR here https://github.com/wp-cloud/opcache-status/issues ?

pako-pl commented 7 years ago

I was not able to reproduce the issue testing on PHP 7.0.11 with the latest version of opcache-status script from this repository. So I'm closing the issue for now.