Closed (fixed)
Project:
Nodereference Explorer
Version:
6.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Aug 2009 at 00:22 UTC
Updated:
30 Mar 2010 at 21:10 UTC
I have installed and enabled this widget (as well as all dependent modules), but no Explorer widget appears when I create a Node reference field.
Oddly enough, I can access the Explorer widget when I create a Link field. However, I get the following error when I save the content type:
Invalid argument supplied for foreach() in /home/EXAMPLE/public_html/EXAMPLE.com/includes/form.inc on line 1423.
I have searched the documentation, but no one else seems to be having this issue. Any help that anyone could provide would be greatly appreciated.
Comments
Comment #1
brycesenz commentedFor reference, the line in form.inc (Drupal 6.13) that is causing an error is:
foreach ($choices as $key => $choice)
Comment #2
betz commentedI have the same error.
I am using this with CCK 3.dev, maybe it has something to do with this?
brycesenz, which CCK version do you use?
Comment #3
betz commentedAha!! Found the little bugger!
I disabled and uninstalled lightbox2 and suddenly it worked.
Looks like it conflicts or something :s
Hope this helps you also...
Comment #4
betz commentedBut the error on the field setting page stays, even on a fresh drupal with cck2.
warning: Invalid argument supplied for foreach().....
Comment #5
brycesenz commentedI ended up just re-installing drupal fresh and adding back all of the modules that I previously had installed.
I also had lightbox2 installed, which is more important to me than this module. I think that for now I'm just going to do without this particular module.
Comment #6
betz commentedI changed the title a little bit
Comment #7
kevster111 commentedwarning: Invalid argument supplied for foreach() in /home/batmantrailer/public_html/includes/form.inc on line 1417 Thats my error.
I have lightbox2 installed as well. Seems like it is going to work then, I click the browse button and nothing happens.
Comment #8
gnindl commentedTry 1.1-beta6 for lightbox2 integration (works perfectly for me) and the little form API bug is already handled here:
http://drupal.org/node/503962
Comment #9
stacysimpson commentedWell, I had already disabled and uninstalled lightbox2 and ran across this issue:
http://drupal.org/node/590192
I haven't re-enabled yet.
Comment #10
gnindl commentedWorks with lightbox 2 version 6.x-1.9 and the latest development snapshot.