im trying to update my old theme and came acros a really weir error. this is the output i get:
Fatal error: Call to a member function getNumImages() on a non-object in /Users/michalrusina/Sites/zenphoto/zp-core/template-functions.php on line 1905
the weird thing is that even when i remove all the contents of header.php, this error and the html stays there. the theme (in development) can be downloaded at storage.michalrusina.sk/m9.zip.
thanks for help.
please take a look at the theme, there are no new calls, just those from the original m9 wich works... i just updated html (now its html5) and moved some chunks of code. i cannot understand why the output stops at title tag, even tough im not using the function that threw error there.
i could not remember my old login so i created a new one (its been a while).
Did you look at the Zenphoto debug log and if is there a trace of the error? It must not be the function in the error, it can be a call elsewhere.
Also, do you get the error with official themes as well? If so you probably should try a reupload of the zp-core files.
as i mentioned earlier, the old m9 theme works without problems, theres nothing in debug log, just a bunch of "WARNING: Cannot modify header information - headers already sent by (output started at /Users/michalrusina/Sites/zenphoto/themes/M9/functions.php:81)", but they are quite older problems that i already solved...