XF 2.0 An exception occurred: [TypeError] Argument 1 passed to XF\Template\Templater::renderNavigationClosure() must be an instance of Closure, integer given

Adenor

Member
Hey there all,

A few minutes ago a customer told me that our forums are down. I went to check and I got the following error:
Code:
An exception occurred: [TypeError] Argument 1 passed to XF\Template\Templater::renderNavigationClosure() must be an instance of Closure, integer given, called in /var/www/html/forums/src/XF/Pub/App.php on line 475 in src/XF/Template/Templater.php on line 5757

XF\Template\Templater->renderNavigationClosure() in src/XF/Pub/App.php at line 475
XF\Pub\App->getNavigation() in src/XF/Pub/App.php at line 428
XF\Pub\App->renderPageHtml() in src/XF/App.php at line 1766
XF\App->renderPage() in src/XF/Mvc/Dispatcher.php at line 310
XF\Mvc\Dispatcher->render() in src/XF/Mvc/Dispatcher.php at line 44
XF\Mvc\Dispatcher->run() in src/XF/App.php at line 1931
XF\App->run() in src/XF.php at line 329
XF::runApp() in index.php at line 13

There has nothing been changed on the system and it worked perfectly fine a few minutes ago. A server reboot changed nothing.
Did anyone encounter the same problem?

Markus
 

Adenor

Member
Update: After some research I think this may be because of the /dev/sda3 mount being full (100%).
Keeping ya'll updated if you have the same issue.

Edit: You can check this in your root folder (cd /) with the command df -h
Edit 2: This fixed the problem.
 
Last edited:
Top