WordPress Error Table ‘alertadigital.wp_wc_follow_users’ doesn’t exist

If you receive an error message like

Error Table 'table.wp_wc_follow_users' doesn't exist, you may have inadvertently caused the problem by updating two plugins at the same time. I was updating the wp support and wp disquz tables, received an error, and afterwards started seeing this error.

To fix it, use the sql query below. When doing so, make sure you execute it on the correct database.

Note: The datetime datatype may cause you issues, if so, change it to timestamp instead.

CREATE TABLE IF NOT EXISTS `wp_wc_follow_users` (
`id` int(11) NOT NULL AUTO_INCREMENT, 
`post_id` int(11) NOT NULL DEFAULT '0', 
`user_id` int(11) NOT NULL DEFAULT '0', 
`user_email` varchar(125) NOT NULL, 
`user_name` varchar(255) NOT NULL, 
`follower_id` int(11) NOT NULL DEFAULT '0', 
`follower_email` varchar(125) NOT NULL, 
`follower_name` varchar(255) NOT NULL, 
`activation_key` varchar(32) NOT NULL, 
`confirm` tinyint(1) NOT NULL DEFAULT '0', 
`follow_timestamp` int(11) NOT NULL, 
`follow_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, 
PRIMARY KEY (`id`), 
KEY `post_id` (`post_id`), 
KEY `user_id` (`user_id`), 
KEY `user_email` (`user_email`), 
KEY `follower_id` (`follower_id`), 
KEY `follower_email` (`follower_email`), 
KEY `confirm` (`confirm`), KEY `follow_timestamp` (`follow_timestamp`), 
UNIQUE KEY `follow_unique_key` (`user_email`, `follower_email`)) DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;

 

 

 

Leave a Reply