Smarty errors in theme after upgrade
Some constructs are no longer allowed within the smarty template syntax:
[Tue Oct 05 08:48:07.652787 2021] [php7:error] [pid 41764] [client 129.177.169.228:65470] PHP Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "app:app:frontendobjectsarticlesum" on line 95 "{php}continue;{/php}" {php}{/php} tags not allowed. Use SmartyBC to enable them <-- \n thrown in /var/www/boap-ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php on line 95, referer: https://boap.ubbe.no/
[Tue Oct 05 11:07:16.865796 2021] [php7:error] [pid 39580] [client 129.177.169.252:57794] PHP Fatal error: Uncaught --> Smarty Compiler: Syntax error in template "app:app:frontendpagesindexJournal" on line 61 "{php}break;{/php}" {php}{/php} tags not allowed. Use SmartyBC to enable them <-- \n thrown in /var/www/boap-ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php on line 61, referer: https://boap.ubbe.no/
And some methods are no longer found getAccessStatus()
[Tue Oct 05 11:15:47.909552 2021] [php7:error] [pid 63144] [client 129.177.169.252:50060] PHP Fatal error: Uncaught Error: Call to undefined method Submission::getAccessStatus() in /var/www/boap-ojs/cache/t_compile/77ef1881cd8db1b799e1ba4fac3daac81189ac31^7cf1cd52b8ba8108de77f197078de34b733dd394_0.app.frontendobjectsarticlesum.php:128\nStack trace:\n#0 /var/www/boap-ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_615c17c3d8a098_61436279()\n#1 /var/www/boap-ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode()\n#2 /var/www/boap-ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render()\n#3 /var/www/boap-ojs/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(385): Smarty_Internal_Template->render()\n#4 /var/www/boap-ojs/cache/t_compile/77ef1881cd8db1b799e1ba4fac3daac81189ac31^26de9c47ced54328a8eb56e39bb4d4079aa049c6_0.app.frontendobjectsissuetoc.t.php(48): Smarty_Internal_Template->_subTempl in /var/www/boap-ojs/cache/t_compile/77ef1881cd8db1b799e1ba4fac3daac81189ac31^7cf1cd52b8ba8108de77f197078de34b733dd394_0.app.frontendobjectsarticlesum.php on line 128, referer: https://boap.ubbe.no/