Posted by obeygiant on November 3, 2009 at 8:47am
Jump to:
| Project: | Navigate |
| Version: | 6.x-1.x-dev |
| Component: | Code (PHP) |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed (maintainer needs more info) |
Issue Summary
I received the following warning after enabling the navigation module:
warning: Invalid argument supplied for foreach() in /drupal/sites/all/modules/navigate/navigate_search/navigate_search.module on line 253.
warning: Invalid argument supplied for foreach() in /drupal/sites/all/modules/navigate/navigate_search/navigate_search.module on line 253.
Comments
#1
I experienced the same thing.
#2
Is this still the case? I will need a little more information so I can track this down if it is. I have not seen any issues when enabling/installing the dev version of this module. Perhaps your can try uninstalling the module after you disable it. Then reinstall it. This will delete navigates tables from your database and install new ones.
#3
I had this too. Tried disabling, uninstalling, updating to latest dev and reinstalling. Still get the same error.
#4
Have you tried installing Navigate (the module) first and then installing the widgets? I am still trying to figure out what could be happening.
#5
I received the following warning after enabling the navigation module:
warning: Invalid argument supplied for foreach() in /drupal/sites/all/modules/navigate/navigate_search/navigate_search.module on line 253.
I tried to reinstall and no good. I see that others have had it but I can't find a resolution posted. Is there a fix?
#6
I don't know why but I just got it all to work and the Warning message is gone. After installing and uninstalling the dev version three times to no avail (enabling, running PHP and Cron each time) what I thought to do was uninstall it again and then I installed the beta6 version. I still got the Warning message above when I enabled the beta6 module; however, I then updated the beta6 module to the dev version ( installed the dev over the beta6) ran PHP update and Cron and everything works fine! I'm not a programmer so I've no idea why it worked or if it was a coincidence but I'm just excited that it works as the module is really awesome. Thanks!