Notifications
Clear all

[Solved] bug related to wp_wc_users_notifications

5 Posts
2 Users
1 Reactions
279 Views
Posts: 10
Topic starter
(@essam)
Eminent Member
Joined: 2 years ago

hello 

this plugin dod not work for my site because it give me in error-log :

WordPress database error Table 'xxxxx.wp_wc_users_notifications' doesn't exist for query SELECT COUNT(*) FROM `wp_wc_users_notifications` WHERE 1 AND `recipient_id` = 31467008 AND `component_name` IN ('wpdiscuz','wpforo') AND `component_action` IN ('wpdiscuz_vote','wpdiscuz_new_follower','wpdiscuz_my_post_rate','wpdiscuz_mention','wpdiscuz_my_comment_reply','wpdiscuz_my_post_comment','wpdiscuz_subscribed_post_comment','wpdiscuz_following_user_comment','wpdiscuz_my_comment_approve','new_reply','new_like','new_dislike','new_up_vote','new_down_vote','new_mention') AND `action_timestamp` > (1722656415 - (180 * 86400)) AND `is_new` = 1 made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array('parse_request'), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_REST_Server->respond_to_request, WunRoute->restGetNotifications, WunRoute->getNotificationsData, WunDBManager->getNotificationsCount

xxxxx. i hided it because it my database name 

 

how to create this table ?

4 Replies
Astghik
Posts: 6193
Admin
(@astgh)
Illustrious Member
Joined: 7 years ago

Hi @essam,

Please follow the steps below:

  1. Navigate to the Dashboard > wpDiscuz > Tools admin page
  2. Find and click the "Database Operations
  3. Click the "Fix Tables
  4. Wait for the process to finish, and then check again.

The issue should be resolved.

1 Reply
(@essam)
Joined: 2 years ago

Eminent Member
Posts: 10

@astgh it it did not fix the issue , 

the error still there and a table is not created in my database 

can you give me sql commands so i will create the tables by phpmyadmin

Posts: 10
Topic starter
(@essam)
Eminent Member
Joined: 2 years ago

ok i fixed it manually by sql phpmyadmin

1 Reply
Astghik
Admin
(@astgh)
Joined: 7 years ago

Illustrious Member
Posts: 6193

Thank you for letting us know. Glad to hear that the issue is solved.

We're going to mark this thread as resolved. Feel free to open a new topic if you have further questions.

Share:
Scroll to top