Hi,
I did an upgrade, no errors in console, but when accessing homepage i get internal server error 500 with this error in the log:
Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function eof() on array in /ojs/lib/pkp/classes/template/PKPTemplateManager.php:1703
Stack trace:
#0 /ojs/cache/t_compile/65bfc3e024c2e9104f46e23b73376a9455e3df0e^51cfb9321c891ada9323e7942962579e7e4324d1_0.app.frontendpagesindexSite.tpl.php(52): PKP\template\PKPTemplateManager->smartyIterate()
#1 /ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_680f98364302e5_57306900()
#2 /ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()
#3 /ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(217): Smarty_Template_Compiled->render()
#4 /ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(238): Smarty_Internal_Template->render()
#5 /ojs/lib/pkp/lib/vend…
So, the code in PKPTemplateManager.php, line 1703:
if (!$iterator || $iterator->eof())
expects $iterator to be an object but i get an array there.
Any clue what’s going on? Thx.
Regards.