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

Zend OPCache PHP warning #413

Closed
lumpysimon opened this issue Feb 22, 2019 · 3 comments

Comments

@lumpysimon
Copy link
Collaborator

commented Feb 22, 2019

I'm seeing the following PHP warning:

screen shot 2019-02-22 at 13 05 14

In overview, I see:

The Zend OPcache opcode cache is installed but not enabled. External object cache not in use

I'll email you a link to my phpinfo output so you can take a look.

@johnbillion

This comment has been minimized.

Copy link
Owner

commented Feb 22, 2019

Thanks. This was reported in the forums too. I'll look into it.

@johnbillion

This comment has been minimized.

Copy link
Owner

commented Mar 3, 2019

Fixed in a6a5467 for 3.3.2.

@johnbillion johnbillion closed this Mar 3, 2019

@lkraav

This comment has been minimized.

Copy link

commented Mar 4, 2019

@johnbillion in the case of https://github.com/pressjitsu/pj-object-cache-red we're now shooting PHP notices and warnings all over, because $cache_data is initialized inside a conditional, but unconditionally used later.

https://github.com/johnbillion/query-monitor/blob/3.3.2/output/html/overview.php#L32

[04-Mar-2019 13:32:32 UTC] PHP Notice:  Undefined variable: cache_data in /wp-content/plugins/query-monitor.git/output/html/overview.php on line 178
[04-Mar-2019 13:32:32 UTC] PHP Notice:  Undefined variable: cache_data in /wp-content/plugins/query-monitor.git/output/html/overview.php on line 191
[04-Mar-2019 13:32:32 UTC] PHP Warning:  array_filter() expects parameter 1 to be array, null given in /wp-content/plugins/query-monitor.git/output/html/overview.php on line 191
[04-Mar-2019 13:32:32 UTC] PHP Notice:  Undefined variable: cache_data in /wp-content/plugins/query-monitor.git/output/html/overview.php on line 208
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.