• Objective:There’s a need to remove a user from the multisite. Before doing so, user’s content needs to be “transferred to another user” in a subdomain setting/specific site that’s not the parent.

    This wp-cli command is used:
    wp user delete –network 898 –reassign=911

    When it is used, an error message is gotten is return:
    Error: reassigning content to a different user is not supported on multisite.

    So, Instead used this to get objective done:

    echo reassigntest.xx.xx.xxx.edu | xargs -I % wp user delete userName –reassign=911 –url=%

    This deletes user from reassigntest.xx.xx.xxx.edu on the multisite, but does not do the reassignment.

    Is there any syntax issue with either of the two commands used above?
    If not, then got alternative to get objective accomplished?

  • The topic ‘Error: reassigning content to a different user is not supported on multisite’ is closed to new replies.