Author Topic: Lots of php warnings  (Read 5934 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Lots of php warnings
« on: January 14, 2020, 09:28:21 PM »
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

Offline
*
Re: Lots of php warnings
« Reply #1 on: February 01, 2020, 11:19:25 PM »
Change warnings settings in PHP settings (PHP 7.1 obviously).

Or make cron and just delete this log periodically.

Offline
*
Re: Lots of php warnings
« Reply #2 on: February 07, 2020, 10:50:32 AM »
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.

Offline
*****
Re: Lots of php warnings
« Reply #3 on: February 07, 2020, 03:30:40 PM »
hi, you can ignore this logs. All seems to normal