Support » Plugin: Multisite Cloner » Problem with user roles after cloning a subdomain

  • Resolved Be Dark


    i get this message on clone subdomains on page /wp-admin/users.php

    Warning: array_keys() expects parameter 1 to be array, boolean given in /home/xx/public_html/wp-admin/includes/class-wp-users-list-table.php on line 305

    and it dosen’t let me add new users with roles, the user role field is empty

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Manuel Razzari


    Hello B_Dark, you found a bug in the plugin!

    We have released a new version 0.1.6 of multisite-cloner that will fix your problem.

    Please download and let me know if it works for you.



    I got the same Problem with the Plugin on my Subdomains under “User” with the new Plugin Version 0.1.9. Here are the Error Message…..

    Warning: array_keys() expects parameter 1 to be array, boolean given in XXX/wp-admin/includes/class-wp-users-list-table.php on line 305

    Please help me thx!

    Plugin Author Patricio T


    Hi Kingmarley,

    That bug was on a previous version. It was populated because we were duplicating the blogs but no the users’ permissions. Right now that is fixed and that error shouldn’t be appearing anymore.

    Could you give us more information about the blog you are using as master and the users it has?


    Just a heads-up that I have the latest version of the plugin but the user-role problem is still there.

    In the options table of the new blog the xx_user_roles had the blog ID of the cloned blog instead of the ID of the new blog.

    Problem and solution as per this thread >>

    Plugin Author Patricio T


    Hi Moother,

    Are you trying to copy the main blog of your network? As we say in our faqs, you can’t clone it.

    Nah I did read all the instructions before jumping in so didn’t make that mistake 🙂

    I made a totally new site and set that up how I wanted the clone to be. Then I added a new site waited for the magic. Unfortunately I think the script timed out somewhere as I was left with a white screen.

    The plugin seems to have done everything else correctly though – I checked detail for detail.

    Any other ideas?

    EDIT: I’ve just run it again to see if I could reproduce the error and, presto, it worked perfectly… not reproducible it seems… I’m happy about that… Thanks for the great plugin…

    Plugin Author Manuel Razzari


    Glad to hear that.

    Looking at your symptom (timeout + white screen), that’s actually what happens when you clone the main blog.

    We’ve just released v0.1.13 of the plugin to ensure that the “Clone” button isn’t displayed for the main blog on the Sites list.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Problem with user roles after cloning a subdomain’ is closed to new replies.