We accidentally assigned a parent to itself in category, version 4.3.0 but ended up with an exception, we manually updated to 4.3.1 in hope of fixing the issue but it didn’t. How can we get rid of this error?
Exception Caught Cannot add tree node to itself. ee/legacy/libraries/datastructures/Tree.php:243
Stack Trace: Please include when reporting this error
For anyone else left hanging on this one… do the following: Edit your database on the server - I use phpMyAdmin. Find the table called exp_categories.
The 2 columns of interest are cat_id and parent_id. No category should have the same parent_id as it’s own cat_id. If there are any Categories like this, manually change the parent_id to be 0.
This should clear the problem and then you can edit them nicely again in EE.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.