![]() |
PHP warning + question regarding cron error output
Hi,
I'm getting this warning in the log file: PHP Warning: Invalid argument supplied for foreach() in /usr/local/ispconfig/server/mods-available/monitor_core_module.inc.php on line 1118 Any ideas? Also, why does ISPConfig redirect error output from cron jobs (at least when using a URL (i.e. wget)? Thanks, _da. |
Looking at the code, it's clear that the warning is due to the fact that there is no output from "mpt-status --autoload -n" on our server ... I think that the code should handle this situation, perhaps by wrapping the foreach with "if ($data['output'] !== '')".
|
| All times are GMT +2. The time now is 03:08. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.