Make WordPress Core

Opened 2 years ago

Last modified 2 years ago

#56854 new defect (bug)

I cannot edit comments thru admin menu

Reported by: strongwomancrushing's profile strongwomancrushing Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: General Keywords: needs-patch
Focuses: Cc:

Description

After the the last update i cannot open the https://www.[mysite].com/wp-admin/edit-comments.php

I received an error 502. After I enabled the debug I saw this error:

SELECT COUNT(*) FROM wp_comments LEFT JOIN wp_posts AS wp_posts_to_exclude_reviews ON comment_post_ID = wp_posts_to_exclude_reviews.ID WHERE ( ( comment_approved = '0' OR comment_approved = '1' ) ) AND user_id = 2 AND comment_type != 'order_note' AND comment_type != 'webhook_delivery' AND wp_posts_to_exclude_reviews.post_type NOT IN ('product') AND wp_posts.post_type <> 'wc_user_membership' ORDER BY wp_comments.comment_date_gmt DESC

How I can address this problem?

Attachments (1)

website-info.txt (9.8 KB) - added by strongwomancrushing 2 years ago.
Website info

Download all attachments as: .zip

Change History (2)

@strongwomancrushing
2 years ago

Website info

#1 @joyously
2 years ago

  • Component changed from Database to General

It looks like you have a plugin that is modifying the SQL.
You can deactivate the plugin that creates the wc_user_membership post type and see if it works. (and ask at the plugin's support forum for help)

Note: See TracTickets for help on using tickets.