Hi,
We’ve upgraded our EE to 4x from 2x recently, We didn’t notice(or dont know if the error is new) that it throws fatal error when we go to Categories listing in Admin at
/admin.php?/cp/categories/group/6
The error is as follows -
Exception Caught
Cannot add tree node to itself.
ee/legacy/libraries/datastructures/Tree.php:243
Stack Trace: Please include when reporting this error
#0 ee/legacy/libraries/datastructures/Tree.php(122): EE_TreeNode->add(Object(EE_TreeNode))
#1 ee/legacy/libraries/datastructures/Tree.php(54): EE_Tree->_build_tree(Object(EllisLab\ExpressionEngine\Service\Model\Collection), Array)
#2 ee/EllisLab/ExpressionEngine/Model/Category/CategoryGroup.php(122): EE_Tree->from_list(Object(EllisLab\ExpressionEngine\Service\Model\Collection), Array)
#3 ee/EllisLab/ExpressionEngine/Controller/Categories/Categories.php(77): EllisLab\ExpressionEngine\Model\Category\CategoryGroup->getCategoryTree(Object(EE_Tree))
#4 [internal function]: EllisLab\ExpressionEngine\Controller\Categories\Categories->group('6')
#5 ee/EllisLab/ExpressionEngine/Core/Core.php(240): call_user_func_array(Array, Array)
#6 ee/EllisLab/ExpressionEngine/Core/Core.php(109): EllisLab\ExpressionEngine\Core\Core->runController(Array)
#7 ee/EllisLab/ExpressionEngine/Boot/boot.php(146): EllisLab\ExpressionEngine\Core\Core->run(Object(EllisLab\ExpressionEngine\Core\Request))
#8 wwwroot/admin.php(147): require_once('...')
#8 wwwroot/admin.php(147): require_once('...')
Could anybody help how to resolve this issue? Btw we can manage category from publish entry tab section.
Thanks Musa
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.