Author Topic: Spammed with PHP warnings  (Read 5051 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Spammed with PHP warnings
« on: January 24, 2019, 02:38:13 PM »
When I am checking logs, to find out why my cron isn't working I saw I am getting spammed with other PHP warnings as well:


Code: [Select]
[24-Jan-2019 15:36:16] WARNING: [pool cwpsrv] child 10170 said into stderr: "NOTICE: PHP message: PHP Warning:  Division by zero in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_gauges.php on line 0"
[24-Jan-2019 15:36:21] WARNING: [pool cwpsrv] child 16929 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined offset:1 in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_gauges.php on line 0"
[24-Jan-2019 15:36:21] WARNING: [pool cwpsrv] child 16929 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined offset:2 in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_gauges.php on line 0"
[24-Jan-2019 15:36:21] WARNING: [pool cwpsrv] child 16929 said into stderr: "NOTICE: PHP message: PHP Notice:  Undefined offset:3 in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_gauges.php on line 0"
[24-Jan-2019 15:36:21] WARNING: [pool cwpsrv] child 16929 said into stderr: "NOTICE: PHP message: PHP Warning:  Division by zero in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_gauges.php on line 0"
[24-Jan-2019 15:36:24] WARNING: [pool cwpsrv] child 10170 said into stderr: "sed: couldn't write 73 items to stdout: Broken pipe"

Anyone had this as well? Can we fix this CWP ?
Its just a warning, but my logs are getting filled with it.

Offline
**

Offline
*
Re: Spammed with PHP warnings
« Reply #2 on: January 24, 2019, 10:23:05 PM »
http://php.net/manual/en/function.error-reporting.php

I understand, and thanks for the url. But that's not really the point. Something is buggy right here ;)