Trying to upgrade to 3.4.0-5 got into smarty error

Ive uploaded 3.4.0-5 version and changed file, run the upgrade script, checked for permissions, but I’m getting into this error:

Fatal error : Uncaught Error: Call to a member function getOption() on null in /home/^ Stack trace: #0 /home/ content_6683f85089f186_68833682() #1 /home/ Smarty_Template_Resource_Base->getRenderedTemplateCode() #2 /home/ Smarty_Template_Compiled->render() #3 /home/ Smarty_Internal_Template->render() #4 /home/ Smarty_Internal_TemplateBase->_execute() #5 /home/ Smarty_Internal_TemplateBase->display() #6 /home/ PKP\template\PKPTemplateManager->display() #7 [internal function]: APP\pages\index\IndexHandler->index() #8 /home/ call_user_func() #9 /home/ PKP\core\PKPRouter->_authorizeInitializeAndCallRequest() #10 /home/ PKP\core\PKPPageRouter->route() #11 /home/ PKP\core\Dispatcher->dispatch() #12 /home/ PKP\core\PKPApplication->execute() #13 {main} thrown in /home/^ on line 36

I can’t continue with the upgrade… Any help?

Hi @Mariana_Coloccini Welcome to the PKP Community Forum! :smiley:

It seems to be a bug in the theme used, maybe you should update it as well.

Look, here is a case similar to yours, **Fatal error**: Uncaught Error: Call to a member function getOption() after update from 3.0.4 to 3.0.8