Adding the new Argument at admin/panels/panel-page/%/edit/context (at left) cause following error:
warning: Invalid argument supplied for foreach() in includes/form.inc on line 1192.
Adding the new Argument at admin/panels/panel-page/%/edit/context (at left) cause following error:
warning: Invalid argument supplied for foreach() in includes/form.inc on line 1192.
Comments
Comment #1
skizzo commentedI see this error when defining a (argument) context in a brand new panel page.
Node ID and User ID arguments are ok. I get the error only for
Node forms, Vocabulary ID and Taxonomy term.
Comment #2
skizzo commentedmarking as duplicate of http://drupal.org/node/316253
Comment #3
sstedman commentedI am also seeing this error. So far it only appears on Comment Notify in the admin. I do not have Panels anywhere on my site. I am running Acquia Drupal 6.9.
Comment #4
asb commentedHi,
when trying to create a panels page in 6.x-3.x-dev at ./admin/build/pages, I'm getting the following error when trying to add a "task handler":
warning: Invalid argument supplied for foreach() in /usr/local/www/includes/form.inc on line 1423.According to this short introduction by Michelle, posted on 04/27/2009, this would be the place where I could enter the "show layout designer" or "add content"; however, I'm not reaching these pages, possibly because of this error or probably because I'm too stupid to use this module.
Please note that this issue was marked as "duplicate" of 316253 which refers mostly to Panels 2 and is marked as "closed"; instead of opening a new issue, I first intended to re-open this issue for 6.x-3.x-dev in connection with "Chaos tool suite 6.x-1.0-beta3"; ) because the same error still seems to exist in Panels 3. Or for whatever reason, Panels 3 initiates the same warnings like Panels 2. Or maybe everything is purely coincidential.
Since I so don't understand anymore what Panels 3 and/or Chaos tools and/or Delegator (beta3) and/or Page manager (beta4) exactly do (did, will do, should do), this issue might even be posted in the wrong issue queue (from ctools 6.x-1.0-beta4: "This beta release of the Chaos Tools suite implements [...] a brand new user interface for page management system. [...] The delegator module has been removed and replaced with the page manager module").
Please note also that, together with ctools 6.x-1.0-beta4, Panels behaves totally different again; there's no "task handler" anymore, but there's a new "Add variant"; since Michelle's mini tutorial does not apply anymore, I don't know how one should even try to create a layout or add content to a panel page ), and the error mentioned above does not occur anymore. So it's probably best to close this issue, currently not trying to use panels and leave all this pretty stuff to the developers.
Frustrated greetings,
-asb
Comment #5
merlinofchaos commentedCan you please describe exactly what screens you were at and what you clicked when you got that error? It's a pretty generic error inside the form code and it's impossible to tell what's wrong without precision.
As for Michelle's tutorial, it probably needs to be updated. However, I think you've guessed correctly what 'Variants' are what task handlers were. And feedback is that the new UI is much easier to understand than the old one.