Hi,

i just got a error with panels for drupal6 when adding argument "Taxonomy term".
This is the error

 warning: Invalid argument supplied for foreach() in /home/reispaleis/public_html/includes/form.inc on line 1194.
warning: Invalid argument supplied for foreach() in /home/reispaleis/public_html/includes/form.inc on line 1194.
 

Comments

StuartDH’s picture

I'm currently getting the same issue on the latest download of 6.x-2.x.dev

AdamJH’s picture

I'm encountered the same problem for TinyMCE :

TinyMCE
warning: Invalid argument supplied for foreach() in /homepages/31/d233749455/htdocs/bestsurvive/includes/form.inc on line 1194.

$Revision: 1.90.4.23 $ $Date: 2007/05/06 01:41:35 $

(Fixed the situation by adding profile below)

coderintherye’s picture

What did you do to fix the situation, you say 'by adding profile below'?

irishgringo’s picture

i am getting the same problem with tinimce. and this project has no panels in it. just tinimce

warning: Invalid argument supplied for foreach() in /home/p24fptlg/public_html/advisorypartnersllc.com/includes/form.inc on line 1194.

; Information added by drupal.org packaging script on 2008-03-31
version = "6.x-1.1-dev"
core = "6.x"
project = "tinymce"
datestamp = "1206987314"

also, I can not get TiniMCE to come up on any edit module.
I have it working on another garland site just to check on the install

sdboyer’s picture

Title: Invalid argument supplied for foreach() on line 1194. » Invalid form elements when adding taxo term argument
Assigned: Unassigned » sdboyer

"Same error" != "Same problem" in this case. The invalid foreach error in form.inc indicates that a form element has been passed back to the Forms API with improper data. Panels interacts with FAPI in countless different ways - simply reporting that you've seen this error does me no help at all with finding it.

For all those who replied to this issue, please clarify that you were DOING the same thing as betz - that is, adding a taxonomy term argument - when you got this argument. If you were doing something else, please open new issue, as it's almost certainly a different, unrelated problem.

sdboyer’s picture

-- EDITED: Accidentally replied to the wrong issue. lol. --

sdboyer’s picture

LOL! Totally put that one in the wrong issue. Man do I need sleep. sorry :P

guillaumeduveau’s picture

Version: 6.x-2.0-alpha2 » 6.x-2.0-alpha3
Status: Active » Closed (duplicate)

Betz, StuartDH : Duplicate of #316253: Broken arguments : Taxonomy term, Vocabulary ID, Node add form and Node edit. For the others : if the same error happens for TinyMCE without panels installed please report the issue for the module TinyMCE.