• Found this error in our self-hosted test environment for multisite, WP version 3.5.1. Error msg is found for all of the sub-sites.

    You must be logged in as a Network Admin. Error msg is only seen on Users screen when reached through Network admin site list, then site User tab at top level. (not via Network Admin User, or site dropdown and then Users).

    This is the error msg that appears above the list of users –

    Warning: array_keys(): The first argument should be an array in /home/wordpress/website/wordpress/wp-admin/includes/class-wp-users-list-table.php on line 196

    Besides the appearance of the message, nothing else seems to be wrong/ not functioning.

    Has anyone encountered this before?

    Trying to determine how alarming the how serious the error is and how to resolve. Is it a corrupted database? Likely caused by a plugin within the multisite?

    Because it’s an internal TEST instance and you have to be logged in as a Network Admin to see the error, I can’t share a URL for reference but can post any screenshots needed for troubleshooting.

    Please advise and thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    Likely caused by a plugin within the multisite?

    That.

    Turn off all your plugins for the network AND the main site on the network.

    I had the same problem.
    You’ve got to dump a wp_options (single) to a wp_X_options (multisite).

    In the table wp_X_options, should you modify the meta_key “wp_user_roles” by “wp_X_user_roles”.

    Good luck

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Network admin error for Users re: class-wp-users-list-table.php on line 196’ is closed to new replies.