ZenphotoCMS Forum
problem with theme after update to 1.2.5 - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: problem with theme after update to 1.2.5 (/thread-5278.html)



problem with theme after update to 1.2.5 - DrSlony - 2009-06-05

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




problem with theme after update to 1.2.5 - acrylian - 2009-06-05

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.




problem with theme after update to 1.2.5 - sbillard - 2009-06-06

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.




problem with theme after update to 1.2.5 - DrSlony - 2009-06-08

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