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
Closed

Zend OPCache PHP warning #413

lumpysimon opened this issue Feb 22, 2019 · 3 comments

Comments

@lumpysimon
Copy link
Collaborator

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
Copy link
Owner

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

@johnbillion
Copy link
Owner

Fixed in a6a5467 for 3.3.2.

@lkraav
Copy link

lkraav 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
Development

No branches or pull requests

3 participants