problem with theme after update to 1.2.5

Hey

My own theme worked fine in 1.1.x but I updated ZenPhoto to 1.2.5 and I now get this error:
Fatal error: Call to a member function get() on a non-object in /home/drslony/public_html/zenphoto/zp-core/template-functions.php on line 1171

Line 1171 of template-functions.php is:
$text = trim( $override !== false ? $override : get_language_string($object->get($field)) );

My own theme index.php is here:
http://paste2.org/p/249254

I would be overcome with joy if anyone could help me with this :)

Comments

  • acrylian Administrator, Developer
    Well, you have apparently a customized theme with some custom functions (theme-functions.php). You will need to check those, probably you use something outdated.
  • This failure would appear to be from trying to include an editable field from an improperly setup context. Perhaps you are printing some image or album field when the Global current image/album variable is not setup.
  • Got it fixed, has some old code in my breadcrumbs.
Sign In or Register to comment.