Hello,

Im trying out Shadowbox on my localhost/Drupal 5.7
Everything seems to be working ok.
But when i go to admin/content/types/*/fields i get :

warning: asort() expects parameter 1 to be array, null given in C:\wamp\www\Frontall\modules\shadowbox\shadowbox.module on line 562.

I dont have Imagefield or Imagecache installed.
It displays this message twice when i save a content type

Shadow box seem to function correctly, so its not really urgent

Cheers

CommentFileSizeAuthor
screenshot_shadowbox_error.jpg25.05 KBWhackler

Comments

K-Max’s picture

I too have this warning coming up. Using drupal 5.16 on a windows setup using apache/php.

psynaptic’s picture

Hmm, strange.. I'm not using 5.x any more really.. can anyone post a patch?

todddevice’s picture

subscribing

dadderley’s picture

I am getting this error as well.
I am not using Imagefield or Imagecache either. I am using Shadowbox to display remote html pages only.
This error only occurred after updating shadowbox and I only see it when I flush the cache.

psynaptic’s picture

Status: Active » Fixed

Committed a fix to DRUPAL-6--2 and DRUPAL-5--2:

http://drupal.org/cvs?commit=253762
http://drupal.org/cvs?commit=253764

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.