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

zemote’s picture

This 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.

merlinofchaos’s picture

Wait your bug report lists Panels 5.x-2.x-dev but you list 5.x-1.1 in the text. Which is it?

zemote’s picture

Version: 5.x-2.x-dev » 5.x-1.1

Sorry, this should have gone in 5.x-1.1, my mistake.

zemote’s picture

Ok, 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

catch’s picture

Category: support » bug
Priority: Normal » Minor
Status: Active » Closed (fixed)

assuming this has already been fixed, if not, please re-open.