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'] !== '')".