MenuManager

A plugin to enable management of menus within October CMS

← Back to MenuManager Support

October Build 230 When moving menu item (as sub), throws an error "A node cannot be moved to a descendant of itself." on line 923 of ~vendor\october\rain\src\Database\Traits\NestedTree.php how can i fix it???

Not sure yet, it appears that the way to use the NestedSet trait has changed. Will push a fix asap, as this will break every install :(

Very frustrating

vendor\october\rain\src\Database\Traits\NestedTree.php
Line 817: // if (!$this->validateMove($this, $target, $position)) Line 818: // return $this;

i set these lines commented and then suddenly worked :)

Last updated

In the model add event beforeCreate():
public function beforeCreate() { $this->setDefaultLeftAndRight(); }

Last updated

DarkDarin said:

In the model add event beforeCreate():
public function beforeCreate() { $this->setDefaultLeftAndRight(); }

Thank you, you are a hero! :)

None of the above methods have worked for me...

The same here! Is there a way to workaround this issue? Neither of methods described above work (last two builds of cms). Thank you!

Last updated

I've not been able to repeat this today. Is this still an issue?

1-8 of 8