Closed (fixed)
Project:
Link to Us
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Dec 2008 at 04:45 UTC
Updated:
6 May 2013 at 20:12 UTC
I'm getting the following error after install and when I access admin/settings/link_to_us
warning: Invalid argument supplied for foreach() in /home/...../includes/form.inc on line 1194.
Comments
Comment #1
Gman commentedFixed with http://drupal.org/cvs?commit=161942.
Comment #2
AlexisWilke commentedHi Gman,
I just got the -dev from Jan 02 and I still get this error!
Did you forget checking your changes in?
Thank you.
Alexis Wilke
FYI -- it happened only the very first time. Now, if I go back to the page, it works fine. So I guess there is something about going to the settings when we did not yet Save anything...
P.S. I followed your link to the CVS, it looks like a D5 fix, not D6...
P.P.S. Well... I tried on another site and it worked just fine. No error... It is a different server so for sure it is not a sharing "problem" here. Hmmm...
Comment #3
Gman commentedDid you download a new version for the new site? I am wondering if you received a nightly snapshot that didn't include the update. I wasn't able to see the issue when I tried on a new site.
Comment #4
Gman commentedDiscovered it was the default value issue, set to NULL instead of array(). Fixed in D5 and D6 versions.
Comment #5
AlexisWilke commentedGman,
Looks like you got it now. No, it was the same code for both sites. I was also surprised it worked on one and not the other. I use the same DB and everything... Anyway, relatively minor if you ask me 8-)
Thank you.
Alexis
Comment #6.0
HS commentedRemoved domain name from code.