The simpler media website CMS
Zenphoto 1.6.5
ZPBootstrap - fresh download from the ZP Fork
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: -
ERROR: Call to undefined function getImageStatistic() in .../zenphoto/themes/imc/functions.php on line 99
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...
Comments
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.
"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.
That worked - thank you
There is also a fix in our fork if the plugin is not enabled.