Download & Extend

warning: array_keys() [function.array-keys]:

Project:Panels
Version:5.x-1.2
Component:Code
Category:bug report
Priority:critical
Assigned:mylos
Status:closed (won't fix)

Issue Summary

Hello,

after I run update.php on my site I got this error with my custom panels:
# warning: array_keys() [function.array-keys]: The first argument should be an array in /home/.dinny/medical/medical.ns.ac.yu/sites/all/modules/panels/panels.module on line 314.
# warning: array_shift() [function.array-shift]: The argument should be an array in /home/.dinny/medical/medical.ns.ac.yu/sites/all/modules/panels/panels.module on line 315.

And as u can see on my home page: www.medical.ns.ac.yu footer container divs are put into panels. That was function
ok earlier ... Can anyone provide some help?

Comments

#1

I am getting same messages along with a couple of others when I try to implement Drupal 5.2. My panels run fine under 5.1 but blow up under 5.2. I see these message when I try to edit the panel. When I try to display the panel, I get a blank page.

Here are the messages:

    * warning: array_keys() [function.array-keys]: The first argument should be an array in /home/virtual/site100/fst/var/www/html/sfn-5.2/sites/all/modules/panels/panels.module on line 314.
    * warning: array_shift() [function.array-shift]: The argument should be an array in /home/virtual/site100/fst/var/www/html/sfn-5.2/sites/all/modules/panels/panels.module on line 315.
    * warning: Invalid argument supplied for foreach() in /home/virtual/site100/fst/var/www/html/sfn-5.2/sites/all/modules/panels/panels.module on line 413.
    * warning: Invalid argument supplied for foreach() in /home/virtual/site100/fst/var/www/html/sfn-5.2/sites/all/modules/panels/panels.module on line 524.

#2

All you have to do is change the permissions of the folder. which in your case would be modules. Make sure the other permission is set to list items at least.

#3

Status:active» closed (won't fix)

Sorry, Panels 1.x is no longer maintained. Consider upgrading to 2.x, please.

nobody click here