ZenphotoCMS Forum
1.4.14: Bad album object parameter to newImage - 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: 1.4.14: Bad album object parameter to newImage (/thread-13060.html)



1.4.14: Bad album object parameter to newImage - Nordlicht - 2018-02-08

debug.log extract:

USER NOTICE: Bad album object parameter to newImage(example.jpg) in /var/www/example.com/zenphoto/zp-core/class-image.php on line 44
trigger_error called from newImage (class-image.php [44])
from filterImageQuery (template-functions.php [3221])
from getRandomImages (template-functions.php [3266])
from include (inc-header.php [24])
from include (index.php [1])
from include (index.php [130])
from index.php [28]

I have 2 pics where upper was created.
Is this related with the pics or with ZPC?




1.4.14: Bad album object parameter to newImage - acrylian - 2018-02-08

The notice says that somehow an image object is tried to be created with a non correct album object. Why that happens, I cannot tell you as this might be related to the theme used.




1.4.14: Bad album object parameter to newImage - Nordlicht - 2018-02-08

Ok, thanks.
I'll check and see what I can find or if will happen again.