![]() |
|
Missing Function - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Themes (https://forum.zenphoto.org/forum-5.html) +--- Thread: Missing Function (/thread-14037.html) |
Missing Function - Adrian0832 - 24-02-2025 Zenphoto 1.6.5 Possibly another quirk from my hosting company (of which there have been many) Clean installation as above worked fine - except for the home page - partly blank, no Admin button but the user menu links were there and worked fine. All other user menus (news, gallery, search...) were fine Logging showed: - Quick search, line 99 did indeed call that function and the function is defined in .../zenphoto/zp-core-zp-extensions/image_album_statistics.php Rather than chase down why it couldn't find it, I copied the function into the theme... Missing Function - acrylian - 24-02-2025
The proper fix is to enable the plugin (extension) instead. We will take a look why there is no check if the plugin is actually enabled and the function available. Missing Function - Adrian0832 - 24-02-2025 "The proper fix is to enable the plugin (extension) instead. We will take a look why there is no check if the plugin is actually enabled and the function available." Thanks - I'll go back and re-jig. Missing Function - Adrian0832 - 24-02-2025 That worked - thank you Missing Function - acrylian - 24-02-2025 There is also a fix in our fork if the plugin is not enabled. |