[Dynamic Album/vSlider 3] vSlider Breaks with PHP Error on Dynamic Albums

semtex

Joined: 2002-09-09
Posts: 11
Posted: Sat, 2008-08-23 19:01

Seems there is a problem with vSlider 3 and Dynamic Albums. PHP errors with:
[Sat Aug 23 14:47:05 2008] [error] [client XXX.XXX.XXX.XXX] PHP Fatal error: Cannot use object of type GalleryStatus as array in /var/www/BLAH.com/root/gallery2/modules/core/classes/GalleryTheme.class on line 926
This is specific to vSlider 3 as the albums work under Matrix. I have also limited it down to the showAlbumPage function in theme.inc. Basically:

list ($ret, $parent) = GalleryCoreApi::loadEntitiesById($theme['item']['id']);
if ($ret) {
return $ret;
}

fails on the loadEntitiesById if it is a dynamic gallery. It seems to be using it to figure out resize values for the lightbox and other stuff. Can anyone help fix it so it works for dynamic albums?


Gallery version (not just "2"): 2.2.5
Module / Theme name & version: Dynamic Album/vSlider 3
PHP version (e.g. 5.1.6): 5.2.0-8
PHPInfo Link (see FAQ): N/A
Webserver (e.g. Apache 1.3.33): 2.2.3-4
Database (e.g. MySql 5.0.32): 5.0.32-7
Activated toolkits (e.g. NetPbm, GD): NetPBM, ImageMagick, GD
Operating system (e.g. Linux): Linux (Debian Etch)
Browser (e.g. Firefox 2.0): IE/Firefox/Doesn't Mater