[wp-trac] [WordPress Trac] #56854: I cannot edit comments thru admin menu

WordPress Trac noreply at wordpress.org
Wed Oct 19 18:15:37 UTC 2022


#56854: I cannot edit comments thru admin menu
---------------------------------+-----------------------------
 Reporter:  strongwomancrushing  |      Owner:  (none)
     Type:  defect (bug)         |     Status:  new
 Priority:  normal               |  Milestone:  Awaiting Review
Component:  Database             |    Version:
 Severity:  normal               |   Keywords:  needs-patch
  Focuses:                       |
---------------------------------+-----------------------------
 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?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56854>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list