XF 2.2 E Warning Template Errors

Chad

Active member
Seeing a bunch of these in admin logs. Not sure how to fix this.

Code:
ErrorException: Template error: [E_WARNING] Trying to access array offset on null
internal_data/code_cache/templates/l1/s0/admin/PAGE_CONTAINER.php:219

Stack trace
#0 internal_data/code_cache/templates/l1/s0/admin/PAGE_CONTAINER.php(219): XF\Template\Templater->handleTemplateError(2, '[E_WARNING] Try...', '/home/cazzy04/p...', 219)
#1 src/XF/Template/Templater.php(1654): XF\Template\Templater->{closure}(Object(XF\Template\Templater), Array, NULL)
#2 src/XF/Admin/App.php(259): XF\Template\Templater->renderTemplate('PAGE_CONTAINER', Array)
#3 src/XF/App.php(2285): XF\Admin\App->renderPageHtml('
        ...', Array, Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#4 src/XF/Admin/App.php(138): XF\App->renderPage('
        ...', Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#5 src/XF/Mvc/Dispatcher.php(404): XF\Admin\App->renderPage('
        ...', Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#6 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#7 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#8 src/XF.php(524): XF\App->run()
#9 admin.php(13): XF::runApp('XF\\Admin\\App')
#10 {main}

Request state
array(4) {
  ["url"] => string(10) "/admin.php"
  ["referrer"] => string(78) "https://www.talkjesus.com/admin.php?styles/night-mode.25/templates&type=public"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(0) {
  }
}

This is my PAGE_CONTAINER template

 
For the current version of 2.2.13 ...

8.0 is officially supported.

8.1 is unofficially supported.

8.2 is less unofficially supported.
 
Back
Top Bottom