Closed (fixed)
Project:
Panels
Version:
5.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Jan 2008 at 10:53 UTC
Updated:
28 Jun 2013 at 08:13 UTC
Hi
I've got an error appearing when I try to create a new Panel on Drupal 5.5...
* warning: ksort() expects parameter 1 to be array, null given in D:\web\xampp\htdocs\website\modules\panels\content_types\views.inc on line 81.
* warning: Invalid argument supplied for foreach() in D:\web\xampp\htdocs\website\includes\form.inc on line 949.
Any help/ideas where to look would be appreciated
Dan
Comments
Comment #1
danmurf commentedI've also found that this message disappears when you add or enable a view in the Views module (5.x-1.6).
Dan
Comment #2
catchYes, this happens when no views are enabled. I closed a few dups of this so leaving this one open, has it been fixed in 1.x-dev?
Comment #3
danmurf commentedI'm not sure about the dev version but I'm using 5.x-1.2
Thanks
Comment #4
sdboyer commentedClosing in preparation for the release of Panels2 RC1. Updating to Panels 2 is the ultimate fix!
Comment #5
aks22 commentedJust need to declare the array which is not declared.
$theme_options= array(); and $lang_options=array(); before the foreach loop.