Title: PHP Users Table Notice on Multisite
Last modified: November 30, 2022

---

# PHP Users Table Notice on Multisite

 *  Resolved [Jonathan Goldford](https://wordpress.org/support/users/jg-visual/)
 * (@jg-visual)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-users-table-notice-on-multisite/)
 * We just upgraded a large multisite installation to use version 6.0.11. The upgrade
   went relatively smoothly, but we’re seeing many instances of this PHP notice 
   in the logs:
 * `WordPress database error Table 'wp_table.wp_304_users' doesn't exist for query
   SELECT COUNT(*) FROM wp_304_users WHERE user_login = 'admin' /* From example.
   org/wp-admin/] in [/nas/content/live/website/wp-content/plugins/really-simple-
   ssl/security/tests.php:139"," */ made by require_once('wp-admin/admin.php'), 
   require_once('wp-load.php'), require_once('wp-config.php'), require_once('wp-
   settings.php'), do_action('plugins_loaded'), WP_Hook->do_action, WP_Hook->apply_filters,
   rsssl_upgrade, rsssl_admin->get_notices_list, rsssl_admin->get_redirect_rules,
   rsssl_admin->detect_configuration, rsssl_update_option, rsssl_fields, rsssl_conditions_apply,
   rsssl_conditions_apply, rsssl_has_admin_user, referer: https://example.org/wp-
   login.php?redirect_to=https%3A%2F%2Fexample.org%2Fwp-admin%2F&reauth=1","Wed 
   Nov 30 2022 13:35:36 GMT-0600 (Central Standard Time)"`
 * It looks like the plugin is trying to access a unique users table for each website,
   even though a single users table is shared across sites on WordPress multisite.
 * Are you all able to replicate this notice? In case it’s helpful, we’re on WordPress
   6.0.3 on PHP 7.4.
 * Thanks a ton for taking a look, and for the great plugin.

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

 *  Plugin Contributor [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * (@rogierlankhorst)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-users-table-notice-on-multisite/#post-16249196)
 * Hi [@jg-visual](https://wordpress.org/support/users/jg-visual/),
 * Thanks for reporting the issue. You’re right, the database prefix should be -
   >base_prefix instead of the default ->prefix, to ensure it works as expected 
   on multisites.
 * It’s fixed here:
 * [https://github.com/Really-Simple-Plugins/really-simple-ssl/tree/fix-admin-user-check-on-multisite](https://github.com/Really-Simple-Plugins/really-simple-ssl/tree/fix-admin-user-check-on-multisite)
 * Let me know if this resolves your issue!
 *  Thread Starter [Jonathan Goldford](https://wordpress.org/support/users/jg-visual/)
 * (@jg-visual)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-users-table-notice-on-multisite/#post-16251966)
 * Thanks for the quick response [@rogierlankhorst](https://wordpress.org/support/users/rogierlankhorst/).
   We would probably prefer to update the plugin once a new version is released 
   with the fix. Do you have any idea when that would be?
 * Also, do you know if the existing code is causing any other issues outside of
   the PHP notice we’re seeing?
 *  Plugin Contributor [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * (@rogierlankhorst)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-users-table-notice-on-multisite/#post-16251999)
 * [@jg-visual](https://wordpress.org/support/users/jg-visual/) It will get released
   early next week. It’s just a test, so won’t cause any issues other than the notice.
 * Sorry for the inconvenience! I’ll close this thread for now, let me know if you
   have any other questions.
 *  Thread Starter [Jonathan Goldford](https://wordpress.org/support/users/jg-visual/)
 * (@jg-visual)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-users-table-notice-on-multisite/#post-16252014)
 * Perfect, we’ll look out for the release next week. Thanks again for the help.

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

The topic ‘PHP Users Table Notice on Multisite’ is closed to new replies.

 * ![](https://ps.w.org/really-simple-ssl/assets/icon-256x256.png?rev=2839720)
 * [Really Simple Security - Simple and Performant Security (formerly Really Simple SSL)](https://wordpress.org/plugins/really-simple-ssl/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/really-simple-ssl/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/really-simple-ssl/)
 * [Active Topics](https://wordpress.org/support/plugin/really-simple-ssl/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/really-simple-ssl/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/really-simple-ssl/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Jonathan Goldford](https://wordpress.org/support/users/jg-visual/)
 * Last activity: [3 years, 5 months ago](https://wordpress.org/support/topic/php-users-table-notice-on-multisite/#post-16252014)
 * Status: resolved