I have a multisite wordpress installation. Whenever I go to the "Users" link of the root site, the list of users is empty. The list of users for all the other non-root sites seem to work fine.
(When I say root site, I mean the blog accessible by http://mydomainname.com/, the other blogs address being http://mydomainname.com/something)
When I look at the php error log, I see this line:
WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' COUNT(*) FROM wp_usermeta WHERE meta_key = 'wp_1_capabilities'' at line 1 for query SELECT , COUNT(*) FROM wp_usermeta WHERE meta_key = 'wp_1_capabilities' made by WP_List_Table->views, WP_Users_List_Table->get_views, count_users
I have searched for this error on google, and the forums, but haven't found any similar reports. I started getting this error only after I upgraded to 3.1.1 from 3.0.x.
Could anyone help me out with this? Thanks.