Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on opcache disabled #43

Closed
soullivaneuh opened this issue Nov 14, 2014 · 2 comments
Closed

Crash on opcache disabled #43

soullivaneuh opened this issue Nov 14, 2014 · 2 comments
Labels
Milestone

Comments

@soullivaneuh
Copy link

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.

@PeeHaa
Copy link
Owner

PeeHaa commented Nov 14, 2014

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

@PeeHaa PeeHaa added the bug label Nov 14, 2014
@PeeHaa PeeHaa added this to the v1.0.0 milestone Nov 14, 2014
@PeeHaa
Copy link
Owner

PeeHaa commented Dec 3, 2014

Fixed in rc5. Thanks for reporting!

@PeeHaa PeeHaa closed this as completed Dec 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants