Title: wordpress.wp_wslusersprofiles table missing
Last modified: August 22, 2016

---

# wordpress.wp_wslusersprofiles table missing

 *  Resolved [wcten](https://wordpress.org/support/users/wcten/)
 * (@wcten)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/wordpresswp_wslusersprofiles-table-missing/)
 * Hello,
 * I deleted the wordpress.wp_wslusersprofiles table after uninstalling the plugin.
   Now I have decided to reinstall and use the plugin again, but after I reinstall,
   the wordpress.wp_wslusersprofiles table will no longer install back to the database.
   How do I reinstall the table?
 * [https://wordpress.org/plugins/wordpress-social-login/](https://wordpress.org/plugins/wordpress-social-login/)

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

 *  Thread Starter [wcten](https://wordpress.org/support/users/wcten/)
 * (@wcten)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/wordpresswp_wslusersprofiles-table-missing/#post-5375598)
 * In short, how do I manually reinstall wslusersprofiles table? Thanks.
 *  Plugin Author [Miled](https://wordpress.org/support/users/miled/)
 * (@miled)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/wordpresswp_wslusersprofiles-table-missing/#post-5375650)
 * [https://github.com/hybridauth/WordPress-Social-Login/blob/master/includes/settings/wsl.database.php#L69](https://github.com/hybridauth/WordPress-Social-Login/blob/master/includes/settings/wsl.database.php#L69)
 *  [nitestop](https://wordpress.org/support/users/nitestop/)
 * (@nitestop)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/wordpresswp_wslusersprofiles-table-missing/#post-5375709)
 * hello,
    ok after i added the correct file to the plugin thgen reuploaded i am
   getting the same error and when i look in the database the wp_wslusersprofiles
   is still not there… is there a solution for this.
 *  [nitestop](https://wordpress.org/support/users/nitestop/)
 * (@nitestop)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/wordpresswp_wslusersprofiles-table-missing/#post-5375710)
 * i am getting this error still:
 * > WordPress database error: [Table ‘holemcc1_wpHG.wp_wslusersprofiles’ doesn’t
   > exist]
   >  SELECT id, object_sha FROM `wp_wslusersprofiles` where user_id = 375
   > and provider = ‘Facebook’
   > WordPress database error: [Table ‘holemcc1_wpHG.wp_wslusersprofiles’ doesn’t
   > exist]
   >  REPLACE INTO `wp_wslusersprofiles` (`id`,`user_id`,`provider`,`object_sha`,`
   > identifier`,`websiteurl`,`profileurl`,`photourl`,`displayname`,`description`,`
   > firstname`,`lastname`,`gender`,`language`,`age`,`birthday`,`birthmonth`,`birthyear`,`
   > email`,`emailverified`,`phone`,`address`,`country`,`region`,`city`,`zip`) VALUES(‘
   > null’,375,’Facebook’,’bc4ea77900651888640f0ccd5cd6edb8e91e2159′,’1508603979380516′,”,’
   > [https://www.facebook.com/app_scoped_user_id/1508603979380516/&#8217](https://www.facebook.com/app_scoped_user_id/1508603979380516/&#8217);,’
   > [https://graph.facebook.com/1508603979380516/picture?width=150&height=150&#8242](https://graph.facebook.com/1508603979380516/picture?width=150&height=150&#8242);,’
   > Head Gab’,”,’Head’,’Gab’,’female’,’en_US’,”,’6′,’4′,’1993′,’social@headgab.
   > com’,’social@headgab.com’,”,”,”,”,”,”)
   > Warning: Cannot modify header information – headers already sent by (output
   > started at /home/holemcc1/public_html/headgab.com/hg/wp-includes/wp-db.php:
   > 1253) in /home/holemcc1/public_html/headgab.com/hg/wp-includes/pluggable.php
   > on line 913
   > Warning: Cannot modify header information – headers already sent by (output
   > started at /home/holemcc1/public_html/headgab.com/hg/wp-includes/wp-db.php:
   > 1253) in /home/holemcc1/public_html/headgab.com/hg/wp-includes/pluggable.php
   > on line 914
   > Warning: Cannot modify header information – headers already sent by (output
   > started at /home/holemcc1/public_html/headgab.com/hg/wp-includes/wp-db.php:
   > 1253) in /home/holemcc1/public_html/headgab.com/hg/wp-includes/pluggable.php
   > on line 915
   > Warning: Cannot modify header information – headers already sent by (output
   > started at /home/holemcc1/public_html/headgab.com/hg/wp-includes/wp-db.php:
   > 1253) in /home/holemcc1/public_html/headgab.com/hg/wp-includes/pluggable.php
   > on line 913
   > Warning: Cannot modify header information – headers already sent by (output
   > started at /home/holemcc1/public_html/headgab.com/hg/wp-includes/wp-db.php:
   > 1253) in /home/holemcc1/public_html/headgab.com/hg/wp-includes/pluggable.php
   > on line 914
   > Warning: Cannot modify header information – headers already sent by (output
   > started at /home/holemcc1/public_html/headgab.com/hg/wp-includes/wp-db.php:
   > 1253) in /home/holemcc1/public_html/headgab.com/hg/wp-includes/pluggable.php
   > on line 915
   > Warning: Cannot modify header information – headers already sent by (output
   > started at /home/holemcc1/public_html/headgab.com/hg/wp-includes/wp-db.php:
   > 1253) in /home/holemcc1/public_html/headgab.com/hg/wp-includes/pluggable.php
   > on line 1173
 * i am also geeting similar error for Twitter too…
 *  Plugin Author [Miled](https://wordpress.org/support/users/miled/)
 * (@miled)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/wordpresswp_wslusersprofiles-table-missing/#post-5375719)
 * if the table doesn’t exist you can create it manually (assuming the prefix is
   wp_):
 *     ```
       CREATE TABLE IF NOT EXISTS wp_wslusersprofiles (
       	id int(11) NOT NULL AUTO_INCREMENT,
       	user_id int(11) NOT NULL COMMENT 'refers to wp.users.id',
       	provider varchar(50) NOT NULL COMMENT 'provider id',
       	object_sha varchar(255) NOT NULL COMMENT 'to check if hybridauth user profile object has changed from last time, if yes we update the user profile here',
       	identifier varchar(255) NOT NULL COMMENT 'The Unique user\'s ID on the connected provider. Depending on the provider, this field can be an number, Email, URL, etc.',
       	profileurl varchar(255) NOT NULL,
       	websiteurl varchar(255) NOT NULL,
       	photourl varchar(255) NOT NULL,
       	displayname varchar(150) NOT NULL,
       	description varchar(255) NOT NULL,
       	firstname varchar(150) NOT NULL,
       	lastname varchar(150) NOT NULL,
       	gender varchar(10) NOT NULL,
       	language varchar(20) NOT NULL,
       	age varchar(10) NOT NULL,
       	birthday int(11) NOT NULL,
       	birthmonth int(11) NOT NULL,
       	birthyear int(11) NOT NULL,
       	email varchar(255) NOT NULL,
       	emailverified varchar(255) NOT NULL,
       	phone varchar(75) NOT NULL,
       	address varchar(255) NOT NULL,
       	country varchar(75) NOT NULL,
       	region varchar(50) NOT NULL,
       	city varchar(50) NOT NULL,
       	zip varchar(25) NOT NULL,
       	UNIQUE KEY id (id),
       	KEY idp_uid (provider,identifier),
       	KEY user_id (user_id)
       );
       ```
   
 *  [nitestop](https://wordpress.org/support/users/nitestop/)
 * (@nitestop)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/wordpresswp_wslusersprofiles-table-missing/#post-5375722)
 * thanks it works now,
    dont forget to add an escape in the comments (user\’s ID)
   thanks a bunch you guys rock…
 *  [proftracking](https://wordpress.org/support/users/proftracking/)
 * (@proftracking)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/wordpresswp_wslusersprofiles-table-missing/#post-5375818)
 * Have similar problem here. Question – where do I insert this code provided by
   Miled above? Thank you in advance.

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

The topic ‘wordpress.wp_wslusersprofiles table missing’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-social-login_a1a2bc.svg)
 * [WordPress Social Login](https://wordpress.org/plugins/wordpress-social-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-social-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-social-login/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-social-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-social-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-social-login/reviews/)

 * 7 replies
 * 4 participants
 * Last reply from: [proftracking](https://wordpress.org/support/users/proftracking/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/wordpresswp_wslusersprofiles-table-missing/#post-5375818)
 * Status: resolved