DirectGui element parenting

That error you got there isn’t directly in the A2Deditor itself, but it’s a bug in P3D 1.8, as I found earlier here :
[1.8.0 SDK release & 1.0.4 Runtime release)

Fortunately it’s just a python file you can easily edit : /pandac/libpandaModules.py
Change each occurence of :
CollisionRay.CollisionRay to CollisionRay
CollisionNode.CollisionNode to CollisionNode
CollisionSegment.CollisionSegment to CollisionSegment
CollisionSphere.CollisionSphere to CollisionSphere

Note that the modules A2Deditor uses are years old. The latest ones are used in :
discourse.panda3d.org/viewtopic.php?t=3875
if you care in picking up the changes yourself.