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
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

kiamlaluno - October 30, 2009 - 17:57
Title:SQL Error in Basic Nodewords» Invalid argument supplied for foreach

It seems the report is not about an SQL error.

#2

kiamlaluno - October 30, 2009 - 18:58
Version:6.x-1.3-beta4» 6.x-1.x-dev
Status:active» fixed

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

kiamlaluno - October 30, 2009 - 19:01

I have marked #618752: Problems with meta tags DESCRIPTION, and KEYWORDS as duplicate of this report.

#4

skyline5k - November 2, 2009 - 03:03

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

giovanninews - November 12, 2009 - 19:13

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

System Message - November 26, 2009 - 19:20
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.