Title: wp_uwp_usermeta&#8217; doesn&#8217;t exist
Last modified: June 19, 2018

---

# wp_uwp_usermeta’ doesn’t exist

 *  Resolved [Paulo Carvajal](https://wordpress.org/support/users/pauloc/)
 * (@pauloc)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/wp_uwp_usermeta-doesnt-exist/)
 * Hi, great plugin. It seems to be working fine, but when I set WP_DEBUG to true,
   I get this error almost everywhere: wp_uwp_usermeta’ doesn’t exist SELECT * FROM
   wp_uwp_usermeta WHERE user_id = 1.
 * I’ve been looking through the code and it seems that this table is not been created
   unless you have updated the plugin from a previous version (not sure about this).
 * Any help is appreciated.
 * Regards, Paulo

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

 *  Plugin Author [Stiofan](https://wordpress.org/support/users/stiofansisland/)
 * (@stiofansisland)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/wp_uwp_usermeta-doesnt-exist/#post-10415595)
 * Hello,
 * That table should exist (assuming your using standard prefix)
    Can you try deactivating
   and then reactivating the plugin to see if that triggers the table creation?
 * Thanks,
 * Stiofan
 *  [VERYA Inc.](https://wordpress.org/support/users/veryaca/)
 * (@veryaca)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/wp_uwp_usermeta-doesnt-exist/#post-10415616)
 * [@stiofansisland](https://wordpress.org/support/users/stiofansisland/)
 * As a plugin developer, you should never **assume** that a user is using the default
   DB prefix. Most security measures tell users to change it nowadays.
 * You should adjust your code accordingly, with the `prefix` variable from the `
   $wpdb` object (like so: `$wpdb->prefix`).
    -  This reply was modified 7 years, 11 months ago by [VERYA Inc.](https://wordpress.org/support/users/veryaca/).
    -  This reply was modified 7 years, 11 months ago by [VERYA Inc.](https://wordpress.org/support/users/veryaca/).
 *  Thread Starter [Paulo Carvajal](https://wordpress.org/support/users/pauloc/)
 * (@pauloc)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/wp_uwp_usermeta-doesnt-exist/#post-10415637)
 * I’ve tried deactivating and reactivating, I’ve also deleted the plugin from the
   plugins’ admin page, after tweaking the settings to delete all the plugin’s data.
   The table is not created on new install.
 * I’m using the default DB prefix also.
 * Weird behavior.
 *  Plugin Author [Stiofan](https://wordpress.org/support/users/stiofansisland/)
 * (@stiofansisland)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/wp_uwp_usermeta-doesnt-exist/#post-10415760)
 * [@pauloc](https://wordpress.org/support/users/pauloc/) there must be something
   preventing it from being created, my guess would be that the sql user does not
   have the right permissions but that is not something i can debug here. My advice
   would be to check your sql user has permission to create tables or you can post
   on our own support forums where a member of staff can assist further: [https://userswp.io/support/forum/userswp-core-plugin/userswp-core-plugin-support/](https://userswp.io/support/forum/userswp-core-plugin/userswp-core-plugin-support/)
 * [@veryaca](https://wordpress.org/support/users/veryaca/) i was simply referencing
   the debug log, you should not **assume** while trying to school people on plugin
   basics 🙂
 *  [VERYA Inc.](https://wordpress.org/support/users/veryaca/)
 * (@veryaca)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/wp_uwp_usermeta-doesnt-exist/#post-10415764)
 * [@stiofansisland](https://wordpress.org/support/users/stiofansisland/)
 * I misread your reply, my bad 🙂
    -  This reply was modified 7 years, 11 months ago by [VERYA Inc.](https://wordpress.org/support/users/veryaca/).
 *  Plugin Author [Stiofan](https://wordpress.org/support/users/stiofansisland/)
 * (@stiofansisland)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/wp_uwp_usermeta-doesnt-exist/#post-10415770)
 * [@veryaca](https://wordpress.org/support/users/veryaca/) np 🙂
 *  Thread Starter [Paulo Carvajal](https://wordpress.org/support/users/pauloc/)
 * (@pauloc)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/wp_uwp_usermeta-doesnt-exist/#post-10417218)
 * [@stiofansisland](https://wordpress.org/support/users/stiofansisland/), it could
   be that if the other two tables were not created. I’ve tried on a new installation
   and it’s the same thing: `wp_uwp_form_extras` and `wp_uwp_form_fields` are created,
   but not `wp_uwp_usermeta` and I get the same errors.
 * My be it’s my stack, I’m on mac MAMP: PHP Version 7.2.1 and mysql Ver 14.14 Distrib
   5.6.38 if this helps.
 * Thanks for your help.
 *  Thread Starter [Paulo Carvajal](https://wordpress.org/support/users/pauloc/)
 * (@pauloc)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/wp_uwp_usermeta-doesnt-exist/#post-10417298)
 * Hi again [@stiofansisland](https://wordpress.org/support/users/stiofansisland/),
   it’s definitely my stack. I’ve installed the plugin in a new WP using Vagrant
   and PHP 7.0.3 and MySql 5.5 and it installs without problem. Then I’ve copied
   the table to the other installation and it seems to be working fine.
 * Sorry about all the hassle and thank you for the all the work put on this plugin
   and its support.
 * Best regards, Paulo.
 *  Plugin Author [Stiofan](https://wordpress.org/support/users/stiofansisland/)
 * (@stiofansisland)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/wp_uwp_usermeta-doesnt-exist/#post-10417723)
 * [@pauloc](https://wordpress.org/support/users/pauloc/) thanks for letting us 
   know, that ver was only tested to 7.1.6, we will do some further testing with
   7.2 and if we find anything we will do a release.
 * Thanks,
 * Stiofan

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

The topic ‘wp_uwp_usermeta’ doesn’t exist’ is closed to new replies.

 * ![](https://ps.w.org/userswp/assets/icon-256x256.png?rev=2784318)
 * [UsersWP - Front-end login form, User Registration, User Profile & Members Directory plugin for WP](https://wordpress.org/plugins/userswp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/userswp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/userswp/)
 * [Active Topics](https://wordpress.org/support/plugin/userswp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/userswp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/userswp/reviews/)

## Tags

 * [db](https://wordpress.org/support/topic-tag/db/)

 * 9 replies
 * 3 participants
 * Last reply from: [Stiofan](https://wordpress.org/support/users/stiofansisland/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/wp_uwp_usermeta-doesnt-exist/#post-10417723)
 * Status: resolved