Fatal Error: getTags

Hi all,

I'm getting an error at where my tags should be, but only on some (not many) albums and I'm not sure why.

The error is:

Fatal error: Call to a member function getTags() on a non-object in /public_html/gallery/zp-core/template-functions.php on line 3349

Line 3349 is:
return $_zp_current_album->getTags();

I'm not really sure why this is the case – especially considering it's only on a couple of albums. I tried removing all Tags from that particular album, no help. I also tried refreshing the metadata and that was no help either.

Any ideas?

Comments

  • acrylian Administrator, Developer
    Well, that means that `$_zp_current_album` is not an object when `getTags()` is used with it. Or short it is used outside standard album context. Why that might be is hard to say since we don't know your theme and what you possibly are doing.
Sign In or Register to comment.