- Affected version
- 2.2.13
Code:
#0 src/XF/Mvc/Entity/Entity.php(103): XF\Extension->resolveExtendedClassToRoot('XF\\Entity\\Node')
#1 src/XF/Mvc/Entity/Manager.php(743): XF\Mvc\Entity\Entity->__construct(Object(XF\Mvc\Entity\Manager), Object(XF\Mvc\Entity\Structure), Array, Array)
#2 src/XF/Mvc/Entity/Manager.php(564): XF\Mvc\Entity\Manager->instantiateEntity('XF:node', Array, Array, 1)
#3 src/XF/Mvc/Entity/Finder.php(1434): XF\Mvc\Entity\Manager->hydrateFromGrouped(Array, Array)
#4 src/XF/Navigation/NodeType.php(250): XF\Mvc\Entity\Finder->fetch()
#5 src/XF/Navigation/NodeType.php(133): XF\Navigation\NodeType::loadPendingNodeData()
#6 internal_data/code_cache/navigation_cache.php(266): XF\Navigation\NodeType::displayNodeExtended(64, 'fh_nav_marktpla...')
#7 src/XF/Template/Templater.php(7695): XF\Pub\App->{closure}(Object(xenMade\LAU\XF\Template\Templater), 'forums', Array)
#8 src/XF/Pub/App.php(578): XF\Template\Templater->renderNavigationClosure(Object(Closure), 'forums', Array)
#9 src/XF/Pub/App.php(529): XF\Pub\App->getNavigation(Array, 'forums')
#10 src/XF/App.php(2285): XF\Pub\App->renderPageHtml(' ...', Array, Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#11 src/XF/Mvc/Dispatcher.php(404): XF\App->renderPage(' ...', Object(XF\Mvc\Reply\View), Object(XF\Mvc\Renderer\Html))
#12 src/XF/Mvc/Dispatcher.php(60): XF\Mvc\Dispatcher->render(Object(XF\Mvc\Reply\View), 'html')
#13 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#14 src/XF.php(524): XF\App->run()
#15 index.php(20): XF::runApp('XF\\Pub\\App')
#16 {main}
This seems to be caused by
PHP:
$descendantFinder = $em->getFinder('XF:node');
XF\Navigation\NodeType::loadPendingNodeData
Changing this to
PHP:
$descendantFinder = $em->getFinder('XF:Node');