XF 2.2 Error message(s) I've been receiving...

Alien

Well-known member
Greetings, Humans.

Anyone know what could be causing these error messages? ;) They all seem similar.

Code:
TypeError: XF\Template\Templater::setUserTitleLadder(): Argument #1 ($ladder) must be of type array, bool given, called in /sitepathremoved/src/XF/App.php on line 1851 src/XF/Template/Templater.php:506
Generated by: Unknown account Apr 11, 2022 at 7:26 PM

Stack trace
#0 src/XF/App.php(1851): XF\Template\Templater->setUserTitleLadder(false, 'message_count')
#1 src/XF/App.php(1380): XF\App->setupTemplaterObject(Object(XF\Container), 'SV\\StandardLib\\...')
#2 src/XF/Container.php(31): XF\App->XF\{closure}(Object(XF\Container))
#3 src/XF/App.php(3243): XF\Container->offsetGet('templater')
#4 src/XF/Pub/App.php(439): XF\App->templater()
#5 src/XF/Mvc/Dispatcher.php(397): XF\Pub\App->preRender(Object(XF\Mvc\Reply\View), 'html')
#6 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#7 src/XF/App.php(2351): XF\Mvc\Dispatcher->run()
#8 src/XF.php(517): XF\App->run()
#9 index.php(20): XF::runApp('XF\\Pub\\App')
#10 {main}

Request state
array(4) {
  ["url"] => string(1) "/"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

Code:
TypeError: XF\Mvc\Router::__construct(): Argument #2 ($routes) must be of type array, bool given, called in /sitepathremoved/src/XF/App.php on line 388 src/XF/Mvc/Router.php:30
Generated by: Unknown account Apr 12, 2022 at 4:18 AM

Stack trace
#0 src/XF/App.php(388): XF\Mvc\Router->__construct(Object(Closure), false)
#1 src/XF/Container.php(31): XF\App->XF\{closure}(Object(XF\Container))
#2 src/XF/Pub/App.php(43): XF\Container->offsetGet('router.public')
#3 src/XF/Container.php(31): XF\Pub\App->XF\Pub\{closure}(Object(XF\Container))
#4 src/XF/App.php(2498): XF\Container->offsetGet('router')
#5 src/XF/Mvc/Dispatcher.php(478): XF\App->router()
#6 src/XF/Mvc/Dispatcher.php(67): XF\Mvc\Dispatcher->getRouter()
#7 src/XF/Mvc/Dispatcher.php(49): XF\Mvc\Dispatcher->route('goto/post')
#8 src/XF/App.php(2351): XF\Mvc\Dispatcher->run()
#9 src/XF.php(517): XF\App->run()
#10 index.php(20): XF::runApp('XF\\Pub\\App')
#11 {main}

Request state
array(4) {
  ["url"] => string(20) "/goto/post?id=533380"
  ["referrer"] => bool(false)
  ["_GET"] => array(1) {
    ["id"] => string(6) "533380"
  }
  ["_POST"] => array(0) {
  }
}

Code:
TypeError: XF\Template\Templater::setMediaSites(): Argument #1 ($mediaSites) must be of type array, bool given, called in /sitepathremoved/src/XF/App.php on line 1849 src/XF/Template/Templater.php:501
Generated by: Unknown account Apr 15, 2022 at 6:42 AM

Stack trace
#0 src/XF/App.php(1849): XF\Template\Templater->setMediaSites(false)
#1 src/XF/App.php(1380): XF\App->setupTemplaterObject(Object(XF\Container), 'SV\\StandardLib\\...')
#2 src/XF/Container.php(31): XF\App->XF\{closure}(Object(XF\Container))
#3 src/XF/App.php(3243): XF\Container->offsetGet('templater')
#4 src/XF/Pub/App.php(439): XF\App->templater()
#5 src/XF/Mvc/Dispatcher.php(397): XF\Pub\App->preRender(Object(XF\Mvc\Reply\View), 'html')
#6 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#7 src/XF/App.php(2351): XF\Mvc\Dispatcher->run()
#8 src/XF.php(517): XF\App->run()
#9 index.php(20): XF::runApp('XF\\Pub\\App')
#10 {main}

Request state
array(4) {
  ["url"] => string(53) "/threads/6-killed-in-texas-roller-rink-rampage.41884/"
  ["referrer"] => bool(false)
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}
 

Xon

Well-known member
It is the XenForo caching backend which is returning corrupted or invalid data, so the filesystem cache. I would recommend Redis or membercache over the filesystem.
 
Top