Jump to content

Featured Replies

Posted

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 by bosss

  • Community Expert

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.

 

  • Author
 

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 by bosss

  • Community Expert
 

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

 

  • Community Expert

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.

  • Author
 

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?

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.

  • Community Expert
 

How make new theme?

You would click on "Add theme" in the them area to create a new theme

  • Community Expert

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.

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

 

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?

  • Community Expert

Yes, test on a default unaltered theme first of all

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. 

 

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?

  • Community Expert
 

out of interest re-added what method?

 

 

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.

Recently Browsing 0

  • No registered users viewing this page.