Invalid argument supplied for foreach
skyline5k - October 30, 2009 - 01:56
| Project: | Nodewords |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
warning: Invalid argument supplied for foreach() in .../sites/all/modules/nodewords/nodewords_basic/nodewords_basic.module on line 425. I'm using version 6.x-1.3-beta4 for Drupal 6. Seems no matter the setting this appears on a good number of pages. Using Page, Panels, Image Galleries. Any fixes? Or should I just use a different version of Nodewords?

#1
It seems the report is not about an SQL error.
#2
I found the error, which was caused by two code line that have been inverted.
Thanks for the report, and the help in finding the cause of another issue reported.
#3
I have marked #618752: Problems with meta tags DESCRIPTION, and KEYWORDS as duplicate of this report.
#4
No problem. Thanks for replying! It seems I double-posted this one by mistake. The screen froze when I added tags at the bottom. Might as well delete the other one.
#5
The Nodewords updating from the version 6.x-1.0 to the version 6.x-1.3-beta5 works very well, but the meta name "description" is not recovered inserted by the previous version, which when inserted in automatic takes the initial part of the article; this solution is certenly more comfortable, but in the same time it is more limitative. Another problem that I realize is that the meta name "robots" isn't picked up any more.
Giovanni
#6
Automatically closed -- issue fixed for 2 weeks with no activity.