Network installation giving errors when viewing or adding a user

In the DB, the wp_user_roles option in wp_options was empty. I copied the value from the same option in wp_2_options, as I had already added another blog.

Also, every user from the original blog (it was up and running before being changed to a network) had nothing listed against both the wp_capabilities and wp_user_level options in wp_usermeta. Because of this, the get_editable_roles() function was failing and in turn causing the errors listed above.

To fix this problem, for each user on the original blog, I copied the entries for the relevant user levels from the data stored under wp_2_capabilities and wp_2_user_level.

Leave a Comment