We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Categories listing on Admin throws fatal error after upgrading from 2x to 4X

Development and Programming

Musa's avatar
Musa
124 posts
6 years ago
Musa's avatar Musa

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

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.