Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
bosss Posted February 24, 2022 Posted February 24, 2022 (edited) This is error after update beta 1 [[Template core/front/global/globalTemplate is throwing an error. This theme may be out of date. Run the support tool in the AdminCP to restore the default theme.] Error: Call to undefined method IPS\Request::isApp() in /home/oldlndse/public_html/system/Theme/Theme.php(880) : eval()'d code:6821 Stack trace: #0 /home/oldlndse/public_html/system/Theme/SandboxedTemplate.php(61): IPS\Theme\class_core_front_global->globalTemplate('6c775cf192e8803...', '\n\n<section id='...', Array) #1 /home/oldlndse/public_html/system/Output/Output.php(748): IPS\Theme\_SandboxedTemplate->__call('globalTemplate', Array) #2 /home/oldlndse/public_html/system/Session/Session.php(247): IPS\_Output->error('Something went ...', '2S119/1', 403, 'admin_csrf_erro...') #3 /home/oldlndse/public_html/applications/core/modules/front/system/theme.php(42): IPS\_Session->csrfCheck() #4 /home/oldlndse/public_html/system/Dispatcher/Controller.php(101): IPS\core\modules\front\system\_theme->manage() #5 /home/oldlndse/public_html/applications/core/modules/front/system/theme.php(32): IPS\Dispatcher\_Controller->execute() #6 /home/oldlndse/public_html/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\front\system\_theme->execute() #7 /home/oldlndse/public_html/index.php(13): IPS\_Dispatcher->run() #8 {main} #0 /home/oldlndse/public_html/system/Theme/SandboxedTemplate.php(71): IPS\_Log::log(Object(Error), 'template_error') #1 /home/oldlndse/public_html/system/Output/Output.php(748): IPS\Theme\_SandboxedTemplate->__call('globalTemplate', Array) #2 /home/oldlndse/public_html/system/Session/Session.php(247): IPS\_Output->error('Something went ...', '2S119/1', 403, 'admin_csrf_erro...') #3 /home/oldlndse/public_html/applications/core/modules/front/system/theme.php(42): IPS\_Session->csrfCheck() #4 /home/oldlndse/public_html/system/Dispatcher/Controller.php(101): IPS\core\modules\front\system\_theme->manage() #5 /home/oldlndse/public_html/applications/core/modules/front/system/theme.php(32): IPS\Dispatcher\_Controller->execute() #6 /home/oldlndse/public_html/system/Dispatcher/Dispatcher.php(153): IPS\core\modules\front\system\_theme->execute() #7 /home/oldlndse/public_html/index.php(13): IPS\_Dispatcher->run() #8 {main} some help? can not access my site Edited February 24, 2022 by bosss
Daniel F Posted February 24, 2022 Posted February 24, 2022 Your theme isn‘t compatible with 4.6.11. There were instructions while the upgrade, did you ignore them? You‘ll probably have to review your globalTemplate template.
bosss Posted February 24, 2022 Author Posted February 24, 2022 (edited) 4 minutes ago, Daniel F said: Your theme isn‘t compatible with 4.6.11. There were instructions while the upgrade, did you ignore them? You‘ll probably have to review your globalTemplate template. Please some helps ...can not use myself ...- can run - support tool in the AdminCP to restore the default theme.] @Daniel F You have my admin access and please take look https://www.oldlibar.website/ Edited February 24, 2022 by bosss
Stuart Silvester Posted February 24, 2022 Posted February 24, 2022 31 minutes ago, bosss said: Please some helps ...can not use myself ...- can run - support tool in the AdminCP to restore the default theme.] @Daniel F You have my admin access and please take look https://www.oldlibar.website/ Your custom theme is out of date and needs to be updated. You can follow the instructions here: You can also go to https://invisioncommunity.com/index.php?app=core&module=system&controller=plugins&do=diff and click 'show differences' to see what the changes are between 4.6.10 and 4.6.11 Beta 1
bosss Posted February 24, 2022 Author Posted February 24, 2022 5 minutes ago, Stuart Silvester said: Your custom theme is out of date and needs to be updated. You can follow the instructions here: You can also go to https://invisioncommunity.com/index.php?app=core&module=system&controller=plugins&do=diff and click 'show differences' to see what the changes are between 4.6.10 and 4.6.11 Beta 1 I can not made myself this - please some help?
Stuart Silvester Posted February 24, 2022 Posted February 24, 2022 You will need to create a new theme in that case and set it as the front-end default or you can revert all of your customisations to the globalTemplate.
bosss Posted February 24, 2022 Author Posted February 24, 2022 9 minutes ago, Stuart Silvester said: You will need to create a new theme in that case and set it as the front-end default or you can revert all of your customisations to the globalTemplate. How make new theme?
Richard Arch Posted February 24, 2022 Posted February 24, 2022 I had the same issue with the default theme and reverted the template after taking a copy. There was no difference between the before and after template but the install worked afterwards without error.
Marc Posted February 25, 2022 Posted February 25, 2022 11 hours ago, bosss said: How make new theme? You would click on "Add theme" in the them area to create a new theme bosss 1
Stuart Silvester Posted February 25, 2022 Posted February 25, 2022 We've re-added the method we removed for the final release (it will be removed again in a future version), but I would still strongly recommend that everyone check their customised templates when they upgrade and implement any changes. bosss 1
Daniel Ocio Posted February 25, 2022 Posted February 25, 2022 I have the same error and i cant login to admincp I change in Database the default theme to put IPS default, but no luck. Please help
Daniel Ocio Posted February 25, 2022 Posted February 25, 2022 5 minutes ago, Daniel Ocio said: I have the same error and i cant login to admincp I change in Database the default theme to put IPS default, but no luck. Please help oh, im in 4.6.10, maybe i should open another theme?
Marc Posted February 25, 2022 Posted February 25, 2022 Yes, test on a default unaltered theme first of all
legionaire Posted February 26, 2022 Posted February 26, 2022 I found that the global template is the one change that seems to be affecting this. IF you ensure that the global template does not have any changes to it (revert it prior to upgrade) and set it as default prior to upgrading you will be OK, but any other themes that have global template changes made will show this error. bosss 1
bearback Posted February 26, 2022 Posted February 26, 2022 On 2/25/2022 at 10:02 AM, Stuart Silvester said: We've re-added the method we removed for the final release (it will be removed again in a future version), but I would still strongly recommend that everyone check their customised templates when they upgrade and implement any changes. out of interest re-added what method?
Randy Calvert Posted February 26, 2022 Posted February 26, 2022 https://invisioncommunity.com/index.php?app=core&module=system&controller=plugins&do=diff In looking at the changes to the theme files, it looks like they're removing references to the native app. My guess is that removing the isApp request check was causing issues with themes that still had references to something that no longer existed.
Stuart Silvester Posted February 28, 2022 Posted February 28, 2022 On 2/26/2022 at 9:24 PM, bearback said: out of interest re-added what method? On 2/26/2022 at 11:32 PM, Randy Calvert said: https://invisioncommunity.com/index.php?app=core&module=system&controller=plugins&do=diff In looking at the changes to the theme files, it looks like they're removing references to the native app. My guess is that removing the isApp request check was causing issues with themes that still had references to something that no longer existed. Randy is right, in the process of removing support for the native application we removed a method that most customised themes will be calling in their global template. We've put this method back for the time being (it doesn't do anything now) so it won't cause theme errors. bearback 1
Recommended Posts