When I access content template site mysite.com/admin/content/templates/gallery I recive following error:

Fatal error: Cannot use object of type stdClass as array in drupal/sites/all/modules/lightbox2/lightbox2.module on line 1298

I'm using dev version, date: 2009-01-03, datestamp: 1230984536

Comments

stella’s picture

Are you using the contemplate module?

Can you try the latest dev release (4th Jan) as the code has changed? Also can you re-save your settings admin/settings/lightbox2/automatic just to ensure they haven't been corrupted? What are your image trigger sizes?

Cheers,
Stella

MartinSfromB’s picture

Updating both modules to todays dev-versions will solve the problem!

codybarr’s picture

I can confirm, if you upgrade to the newest contemplate dev release (6.x-1.x-dev | 2009-Jan-03), this should fix the problem.

stella’s picture

Category: bug » support
Status: Active » Fixed

Looks like this is a bug in the contemplate module which is fixed in the dev release.

Cheers,
Stella

stella’s picture

I added a workaround to for this issue to Lightbox2 6.x-1.9.

Cheers,
Stella

Status: Fixed » Closed (fixed)

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