Member
Member
DrSlony   2009-06-05, 14:51
#1

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

Administrator
Administrator
acrylian   2009-06-05, 15:44
#2

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.

Member
Member
sbillard   2009-06-06, 00:28
#3

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.

Member
Member
DrSlony   2009-06-08, 04:09
#4

Got it fixed, has some old code in my breadcrumbs.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.