AI Assistant
Notifications
Clear all

[Solved] bug related to wp_wc_users_notifications

5 Posts
2 Users
1 Reactions
1,451 Views
Posts: 10
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@essam)
Eminent Member
Joined: 3 years ago
[#12645]

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: 6645
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@astgh)
Illustrious Member
Joined: 8 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: 3 years ago

Eminent Member
Posts: 10
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@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
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@essam)
Eminent Member
Joined: 3 years ago

ok i fixed it manually by sql phpmyadmin


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

Illustrious Member
Posts: 6645
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

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