Control Web Panel

WebPanel => CentOS-WebPanel Bugs => Topic started by: ForYourIT on January 24, 2019, 02:38:13 PM

Title: Spammed with PHP warnings
Post by: ForYourIT 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.
Title: Re: Spammed with PHP warnings
Post by: GTMAN on January 24, 2019, 06:01:14 PM
http://php.net/manual/en/function.error-reporting.php (http://php.net/manual/en/function.error-reporting.php)
Title: Re: Spammed with PHP warnings
Post by: ForYourIT on January 24, 2019, 10:23:05 PM
http://php.net/manual/en/function.error-reporting.php (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 ;)