Title: Query error on multisites
Last modified: March 8, 2024

---

# Query error on multisites

 *  Resolved [unapersona](https://wordpress.org/support/users/unapersona/)
 * (@unapersona)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/query-error-on-multisites/)
 * Hello,
   I am getting this error on a multisite installation.
 * It seems that `user_registration_pending_users_notices` is using the database
   prefix when it won’t.
 *     ```wp-block-code
       [Fri Mar 08 12:01:57.999957 2024] [proxy_fcgi:error] [pid 16730:tid 139827710170880] AH01071: Got error 'PHP message: WordPress database error Table 'db.wp_3_users' doesn't exist for query SELECT *\n\t\t\tFROM wp_3_users AS users\n\t\t\tJOIN wp_3_usermeta AS meta1 ON users.ID = meta1.user_id\n\t\t\tWHERE meta1.meta_key = 'ur_user_status' AND meta1.meta_value = '0'\n\t\t\tAND (\n\t\t\t\t((meta1.meta_key = 'ur_confirm_email' AND meta1.meta_value != '0')\n\t\t\t\tOR NOT EXISTS (\n\t\t\t\t\tSELECT 1 FROM wp_3_usermeta WHERE user_id = users.ID AND meta_key = 'ur_confirm_email'\n\t\t\t\t))\n\t\t\t\tOR\n\t\t\t\t(\n\t\t\t\t(meta1.meta_key = 'ur_admin_approval_after_email_confirmation' AND meta1.meta_value = 'false')\n\t\t\t\tOR NOT EXISTS (\n\t\t\t\t\tSELECT 1 FROM wp_3_usermeta WHERE user_id = users.ID AND meta_key = 'ur_admin_approval_after_email_confirmation'\n\t\t\t\t)\n\t\t\t)); made by require_once('wp-admin/admin-header.php'), do_action('admin_notices'), WP_Hook->do_action, WP_Hook->apply_filters, UR_Admin_User_List_Manager->user_registration_pending_users_notices, QM_DB->query'
       ```
   

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

 *  [Sandip Pokhrel](https://wordpress.org/support/users/sandippokharel/)
 * (@sandippokharel)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/query-error-on-multisites/#post-17489132)
 * Hi there,
 * Thanks for writing in,
 * Please download the zip files of the User Registration plugin from the link below
   and update it on your site. This will fix the issue.
   [User Registration Plugin](https://encl.io/t/J_XTCrdYFnA#29C82UiJ8t-v5s_LJ98DMg)
   Please refer to the documentation in the link below to update the plugin manually.
   [https://docs.wpeverest.com/user-registration/docs/how-to-update-a-plugin-manually/](https://docs.wpeverest.com/user-registration/docs/how-to-update-a-plugin-manually/)
   Please let us know if this helps or not.
 * Regards!
 *  [Sandip Pokhrel](https://wordpress.org/support/users/sandippokharel/)
 * (@sandippokharel)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/query-error-on-multisites/#post-17513581)
 * Hi there,
 * Since we haven’t heard from you in a while, I’m going to go ahead and conclude
   this thread for now. However, if you have any further questions or if there’s
   anything else we can assist you with, please feel free to continue the conversation.
 * Regards!
 *  [recky360](https://wordpress.org/support/users/recky360/)
 * (@recky360)
 * [2 years ago](https://wordpress.org/support/topic/query-error-on-multisites/#post-17749042)
 * The same thing on my site. Would you please make a new link? Link above not working.
 * [https://i.vgy.me/mVk2vC.png](https://i.vgy.me/mVk2vC.png)
    -  This reply was modified 2 years ago by [recky360](https://wordpress.org/support/users/recky360/).

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

The topic ‘Query error on multisites’ is closed to new replies.

 * ![](https://ps.w.org/user-registration/assets/icon-256x256.gif?rev=3284028)
 * [User Registration & Membership - Free & Paid Memberships, Subscriptions, Content Restriction, User Profile, Custom User Registration & Login Builder](https://wordpress.org/plugins/user-registration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-registration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-registration/)
 * [Active Topics](https://wordpress.org/support/plugin/user-registration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-registration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-registration/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [recky360](https://wordpress.org/support/users/recky360/)
 * Last activity: [2 years ago](https://wordpress.org/support/topic/query-error-on-multisites/#post-17749042)
 * Status: resolved