Not a bug Call to undefined method XF\Template\Templater::setJsBaseUrl

AndyB

Well-known member
Affected version
2.0.2
I just upgraded one of my forums from 2.0.1 to 2.0.2 and received 40 server error logs, all the same like this one:

Code:
Server error log

    Error: Call to undefined method XF\Template\Templater::setJsBaseUrl() src/XF/App.php:1451 

    Generated by: Unknown account Feb 2, 2018 at 2:10 PM 

Stack trace

#0 src/XF/App.php(1082): XF\App->setupTemplaterObject(Object(XF\Container), 'XF\\Template\\Tem...')
#1 src/XF/Container.php(28): XF\App->XF\{closure}(Object(XF\Container))
#2 src/XF/App.php(2650): XF\Container->offsetGet('templater')
#3 src/XF/Pub/App.php(348): XF\App->templater()
#4 src/XF/Mvc/Dispatcher.php(280): XF\Pub\App->preRender(Object(XF\Mvc\Reply\Message), 'html')
#5 src/XF/Mvc/Dispatcher.php(44): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\Message), 'html')
#6 src/XF/App.php(1889): XF\Mvc\Dispatcher->run()
#7 src/XF.php(328): XF\App->run()
#8 index.php(13): XF::runApp('XF\\Pub\\App')
#9 {main}

Request state

array(4) {
  ["url"] => string(22) "/whats-new/posts/5822/"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
I just looked, the first one is different:

Code:
Server error log

    ParseError: syntax error, unexpected ''' (T_ENCAPSED_AND_WHITESPACE) src/vendor/dokuwiki/utf8/utf8.php:1631 

    Generated by: Unknown account Feb 2, 2018 at 1:43 PM 

Stack trace

#0 src/XF.php(56): XF::startSystem()
#1 index.php(12): XF::start('/home/xf2addons...')
#2 {main}

Request state

array(4) {
  ["url"] => string(22) "/whats-new/posts/5626/"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 
If these coincided with the moment in time that you started uploading the files and the errors have since stopped, then there’s nothing to worry about.
 
Hi Chris,

Yes the errors occurred during the time I was uploading the the 2.0.2 files. I unchecked the Board is active in the options, so I assumed I should not get this type of server error and wanted to let you know.
 
Back
Top Bottom