When saving Panel layout settings for a blog posting, page, etc, the following errors are displayed:

* warning: Invalid argument supplied for foreach() in /var/www/html/sites/default/modules/panels/includes/display-layout-settings.inc on line 269.
* warning: Invalid argument supplied for foreach() in /var/www/html/sites/default/modules/panels/includes/plugins.inc on line 605.

"Your layout settings have been saved." is also displayed, but the form reverts back to its default settings, so it appears the settings are not actually saved.

I'm using Drupal 6.4.

Comments

merlinofchaos’s picture

What kind of layout were you saving?

Renee S’s picture

I had this, and it was related to Outline. Disabling it did the trick... for now.

defconjuan’s picture

subscribe

jermerqua’s picture

What do you mean by "related to outline"? How does one disable?

arvinsingla’s picture

By outline are you referring to the Book module? That is the only reference to "Outline" that I know of.

I am also having this problem. When creating a test view with on a single column with one piece of content. Currently running Drupal 6.4.

* warning: Invalid argument supplied for foreach() in /var/www/sites/all/modules/panels/includes/plugins.inc on line 1225.
* warning: Invalid argument supplied for foreach() in /var/www/sites/all/modules/panels/includes/plugins.inc on line 1123.
marqpdx’s picture

just installed Panels 6.x-2.0-alpha1 version on a non-prod install, and got the same:

* warning: Invalid argument supplied for foreach() in /var/.../modules/panels/includes/plugins.inc on line 1225.
* warning: Invalid argument supplied for foreach() in /var/.../modules/panels/includes/plugins.inc on line 1123.

i don't have the book module in use or use any sort of outline feature that i know of.

thx,
m

sdboyer’s picture

Status: Active » Closed (duplicate)

This has been fixed in -dev as of a couple days ago, I believe. Sorry, there were like 4 open issues on this and I missed getting them all as dupes after fixing it.

Ujval Shah’s picture

patch is available for this issue.
here is the link - http://drupal.org/files/issues/plugins.inc__4.patch

Ujval Shah’s picture

Status: Closed (duplicate) » Closed (fixed)