Skip to content

3.0.183: Cant add new users with multiple templates (Template::noMove) #1425

Open
@cb2004

Description

@cb2004

After upgrading to 3.0.183 I now cant add a new user in my page tree because of an error:

Can’t save page 2199: /PARENT/untitled-page-4/: Page using template “USERTEMPLATE” is not moveable. (Template::noMove) [/ADMINFOLDER/access/users/ => /PARENT/]

This hook may come into play which we use to get around having to add name:

$wire->addHookAfter('Pages::added(template=74)', function(HookEvent $e) { $member = $this->users->get($e->arguments(0)->id); $member->addRole(1150); $member->save(); });

We go around this by switching advanced mode on and allowing the template to be moved. Now this may not be a bug and may be a new requirement, but if you follow the steps here:

https://processwire.com/blog/posts/processwire-core-updates-2.5.14/#multiple-templates-or-parents-for-users

As soon as you clone the user template, it is going to come with the no move option checked.

Any thoughts?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions