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

PHP Notices on nginx/PHP7 #41

Open
jonathanbossenger opened this issue Mar 27, 2017 · 1 comment
Open

PHP Notices on nginx/PHP7 #41

jonathanbossenger opened this issue Mar 27, 2017 · 1 comment

Comments

@jonathanbossenger
Copy link
Contributor

Running on my local Ubuntu 16.04 install with nginx and PHP7, with WP_DEBUG enabled, I get a bunch of PHP notices (file attached) when viewing the stats page.

PHP Notices.txt

My PHP error_reporting is set to

error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT

@robin-scott
Copy link
Contributor

Yeah I get errors (warnings) on PHP7:

mod_fcgid: stderr: PHP Warning: A non-numeric value encountered in /httpdocs/wp-content/plugins/expertstatsplugin/classes/stats.php on line 471, referer: /wp-admin/

and

mod_fcgid: stderr: PHP Warning: A non-numeric value encountered in /httpdocs/wp-content/plugins/expertstatsplugin/classes/stats.php on line 470, referer: /wp-admin/

These are coming through as the plugin is failing to update stats. Could be coincidental. I moved shit around a lot since I last updated this plugin...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants