Lots of php warnings

Started by cata77, January 14, 2020, 09:28:21 PM

Previous topic - Next topic

cata77

Hello,
Into the
/usr/local/cwp/php71/var/log/php-fpm.log there are lots of PHP Warning:
[14-Jan-2020 22:56:31] WARNING: [pool cwpsrv] child 31520 said into stderr: "NOTICE: PHP message: PHP Warning:  main(): Failed opening '../../../../resources/admin/include/version.php' for inclusion (include_path='.:/usr/local/cwp/php71/lib/php') in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_dashboard.php on line 0"
[14-Jan-2020 22:56:31] WARNING: [pool cwpsrv] child 31522 said into stderr: "sed: couldn't write 79 items to stdout: Broken pipe"
[14-Jan-2020 22:56:32] WARNING: [pool cwpsrv] child 31520 said into stderr: "NOTICE: PHP message: PHP Warning:  Division by zero in /usr/local/cwpsrv/htdocs/resources/admin/addons/ajax/ajax_dashboard.php on line 0"
[14-Jan-2020 22:56:32] WARNING: [pool cwpsrv] child 31534 said into stderr: "cat: /usr/local/cwp/.conf/quota_part.conf: No such file or directory"
[14-Jan-2020 22:56:34] WARNING: [pool cwpsrv] child 31523 said into stderr: "cat: /usr/local/cwp/.conf/quota_part.conf: No such file or directory"

This log file is increasing with ~8Mb every day.

Any suggestion how to solve this?
Thanks

tster13

Change warnings settings in PHP settings (PHP 7.1 obviously).

Or make cron and just delete this log periodically.

cata77

Hiding the warnings or making a cron for deleting them is not a solution. The expectation is to solve the issue. As a client that pay 2 CWPpro licenses I think is a normal request.

Sandeep

hi, you can ignore this logs. All seems to normal