Warning: Invalid argument supplied for foreach() in prod_check_settings_form_validate() (line 421 of /sites/all/modules/contrib/prod_check/includes/prod_check.admin.inc).

Fix:
foreach ($form_state['values']['monitor_settings'] as $set => $data) { => foreach ((array)$form_state['values']['monitor_settings'] as $set => $data) {

Comments

malc0mn’s picture

Looks like $form_state['values']['monitor_settings'] was non existant? Need to check:

1. Adjust settings without enabling nagios stuff in the form (nagios module is NOT installed)
2. Adjust settings without enabling nagios stuff in the form (nagios module is installed and enabled)

malc0mn’s picture

Status: Active » Postponed (maintainer needs more info)

Cannot reproduce this one, tried various stuff but could not get it to pop up... Please supply more steps to reproduce next time...

malc0mn’s picture

Issue summary: View changes

typo

asrob’s picture

Issue summary: View changes

Hi malc0mn,

I think you can close this issue because I didn't encounter this error during my tests yesterday, and this is an old issue as well. I'm not sure this is even exist.

malc0mn’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Closing...