expertstatsplugin icon indicating copy to clipboard operation
expertstatsplugin copied to clipboard

PHP Notices on nginx/PHP7

Open jonathanbossenger opened this issue 7 years ago • 1 comments

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

jonathanbossenger avatar Mar 27 '17 11:03 jonathanbossenger

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...

robin-scott avatar May 22 '17 09:05 robin-scott