Closed (fixed)
Project:
Panels
Version:
5.x-1.1
Component:
Miscellaneous
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Mar 2007 at 03:33 UTC
Updated:
14 Jan 2008 at 12:08 UTC
I get these warnings when I try to add a panel, can I continue or do I need to resolve these.
* warning: ksort() expects parameter 1 to be array, null given in /modules/panels/content_types/views.inc on line 81.
* warning: Invalid argument supplied for foreach() in /includes/form.inc on line 945.
My install is Drupal 5.1, latest panels, latest views, latest cck, latest flashvideo, latest tagadelic, latest contemplate, latest fivestar, latest flag_content, latest forms, latest survey, latest taxonomy_breadcrumbs, latest taxonomy_forceall, latest taxonomy_menu, latest token, latest votingapi.
Comments
Comment #1
zemote commentedThis should actually be listed as a bug report. This seems to happen when Views 5.x-1.5 & Panels 5.x-1.1 are installed together. If I shut off Views, the Warnings go away.
Comment #2
merlinofchaos commentedWait your bug report lists Panels 5.x-2.x-dev but you list 5.x-1.1 in the text. Which is it?
Comment #3
zemote commentedSorry, this should have gone in 5.x-1.1, my mistake.
Comment #4
zemote commentedOk, I figured out how these warnings occur. If you have panels and views modules enabled, but you have all the views disabled in the view module these warnings pop up. I'm not sure if there is anything to fix here, or just have some more detailed output on the warnings to point someone in the right direction if they do the same boneheaded thing I did as in disabling all the default views.
-Jeff
Comment #5
catchassuming this has already been fixed, if not, please re-open.