PeeHaa / OpCacheGUI

GUI for PHP's OpCache

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crash on opcache disabled

soullivaneuh opened this issue · comments

Hi and thanks for your project.

If I just disabled opcache:

[opcache]
; Determines if Zend OPCache is enabled
opcache.enable=0

I have the following error when loading your project page:

Catchable fatal error: Argument 3 passed to OpCacheGUI\OpCache\Status::__construct() must be of the type array, boolean given, called in /var/www/localhost/htdocs/opcache/template/status.phtml on line 1 and defined in /var/www/localhost/htdocs/opcache/src/OpCacheGUI/OpCache/Status.php on line 58

I use the dev-master version.

Thanks for reporting.

I have fixed this at some point, but screwed up again I think :|

Will fix it this weekend and add the appropriate test to prevent it in the future

Fixed in rc5. Thanks for reporting!