Jump to content

4.3 causes Error Code: EX0


staymighty

Recommended Posts

Posted

After upgrading to 4.3, we encountered this error code on all of our forum pages, with this readout:

Error: Call to undefined method IPS\forums\Topic\Post::reputation() (0)
#0 /var/www/html/r273157/system/Theme/SandboxedTemplate.php(56): IPS\Theme\class_forums_front_topics->postContainer(Object(IPS\forums\Topic), Object(IPS\forums\Topic\Post), Array, '')
#1 /var/www/html/r273157/system/Theme/Theme.php(824) : eval()'d code(4420): IPS\Theme\_SandboxedTemplate->__call('postContainer', Array)
#2 /var/www/html/r273157/system/Theme/SandboxedTemplate.php(56): IPS\Theme\class_forums_front_topics->topic(Object(IPS\forums\Topic), Array, NULL, Array, NULL, '\n\n\t\n\t<ul class=...', Array)
#3 /var/www/html/r273157/applications/forums/modules/front/forums/topic.php(402): IPS\Theme\_SandboxedTemplate->__call('topic', Array)
#4 /var/www/html/r273157/system/Dispatcher/Controller.php(96): IPS\forums\modules\front\forums\_topic->manage()
#5 /var/www/html/r273157/system/Content/Controller.php(50): IPS\Dispatcher\_Controller->execute()
#6 /var/www/html/r273157/applications/forums/modules/front/forums/topic.php(39): IPS\Content\_Controller->execute()
#7 /var/www/html/r273157/system/Dispatcher/Dispatcher.php(146): IPS\forums\modules\front\forums\_topic->execute()
#8 /var/www/html/r273157/index.php(13): IPS\_Dispatcher->run()
#9 {main}

Looks like our theme might not support the way reputation is now handled? So now I have two questions:

1. Is there a quick way to roll back to a previous version of the forum software, specifically 4.2.8?

2. Any tips on what the above might mean? I diff'ed the changes between 4.2.8 and 4.3 and it looks like the way reputation is called has changed quite a bit but I am no web developer.

Posted

I have the same error, guests cant view site, only authenticated users. This might be because of the caching with cloudfront.

 

Error: Call to undefined method IPS\Login::forms() (0)
#0 /var/www/html/system/Theme/SandboxedTemplate.php(56): IPS\Theme\class_core_front_global->loginPopup(Object(IPS\Login))
#1 /var/www/html/system/Theme/Theme.php(824) : eval()'d code(15401): IPS\Theme\_SandboxedTemplate->__call('loginPopup', Array)
#2 /var/www/html/system/Theme/SandboxedTemplate.php(56): IPS\Theme\class_core_front_global->userBar()
#3 /var/www/html/system/Theme/Theme.php(824) : eval()'d code(5977): IPS\Theme\_SandboxedTemplate->__call('userBar', Array)
#4 /var/www/html/system/Theme/SandboxedTemplate.php(56): IPS\Theme\class_core_front_global->globalTemplate('bdbfb16560f9e5a...', '\n\n<div data-con...', Array)
#5 /var/www/html/system/Dispatcher/Dispatcher.php(166): IPS\Theme\_SandboxedTemplate->__call('globalTemplate', Array)
#6 /var/www/html/system/Dispatcher/Standard.php(107): IPS\_Dispatcher->finish()
#7 /var/www/html/system/Dispatcher/Front.php(569): IPS\Dispatcher\_Standard->finish()
#8 /var/www/html/system/Dispatcher/Dispatcher.php(148): IPS\Dispatcher\_Front->finish()
#9 /var/www/html/index.php(13): IPS\_Dispatcher->run()
#10 {main}

 

Posted
6 hours ago, staymighty said:

 

1. Is there a quick way to roll back to a previous version of the forum software, specifically 4.2.8?

Other than reverting to a backup, no. There is no downgrade option which still maintains new content. 

6 hours ago, staymighty said:

2. Any tips on what the above might mean? I diff'ed the changes between 4.2.8 and 4.3 and it looks like the way reputation is called has changed quite a bit but I am no web developer.

You can revert the the individual theme templates—which call the reputation function—to the 4.3 stock version. That should fix the error without the need to switch to a completely different theme. 

Posted

Our site seems to be working and you can read it as a guest. But log in to the site or to the admin panel doesn't work anymore after the 4.3. update...

Posted
5 hours ago, opentype said:

You can revert the the individual theme templates—which call the reputation function—to the 4.3 stock version. That should fix the error without the need to switch to a completely different theme. 

Using a child theme of the default stock theme, the only template that needed to be reverted was under /forums/front/topics/postContainer

Once the postContainer was reverted, everything worked as expected.

Thanks for the tip.

Posted
12 hours ago, opentype said:

Other than reverting to a backup, no. There is no downgrade option which still maintains new content. 

You can revert the the individual theme templates—which call the reputation function—to the 4.3 stock version. That should fix the error without the need to switch to a completely different theme. 

Thanks! looks like the postcontainer theme was borked and reverting it fixed the issue. Gracias for the help.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...