Got this error after i made a panel pages.

* warning: Invalid argument supplied for foreach() in D:\webspace\drupal64\sites\all\modules\panels\includes\plugins.inc on line 1225.
* warning: Invalid argument supplied for foreach() in D:\webspace\drupal64\sites\all\modules\panels\includes\plugins.inc on line 1123.
Any idea why i got this kind of error?

Comments

vm’s picture

Status: Active » Postponed (maintainer needs more info)

does the same hold true for the alpha version which is the reccomended version to test not "use" on a production site?

the dev version always runs the risk of being broken because that is where fixes are being applied as the module is ported from 5.x to 6.x.

Drupal 6: Alpha stage. Code is working but unstable, and should NOT be run on production sites.

what is in dev is essentially alpha code as well.

airen2011’s picture

Version: 6.x-2.x-dev » 6.x-2.0-alpha1

Oh, sorry i forgot that i had put the dev version but actually it's an alpha version i am using with and got that error, but i am not using it in a production site.

marqpdx’s picture

Title: Got this error... » Got this error... too -- Invalid argument supplied for foreach()

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.

wanted to confirm.
thx,
m

sdboyer’s picture

Ujval Shah’s picture

Status: Closed (duplicate) » Closed (fixed)

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