[wp-trac] [WordPress Trac] #51263: PHP warning when editing comments in the administration comment edit screen

WordPress Trac noreply at wordpress.org
Mon Sep 7 18:55:00 UTC 2020


#51263: PHP warning when editing comments in the administration comment edit screen
----------------------------+-----------------------------
 Reporter:  regan.khadgi    |      Owner:  (none)
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  General         |    Version:  5.5.1
 Severity:  normal          |   Keywords:  has-screenshots
  Focuses:  administration  |
----------------------------+-----------------------------
 When I tried to edit any comment in the administration comment edit
 screen, I get two php warnings like below in my debug.log file

 [07-Sep-2020 18:03:22 UTC] PHP Notice:  Undefined index: c in
 D:\xampp\htdocs\free-plugins\wp-admin\comment.php on line 39
 [07-Sep-2020 18:03:22 UTC] PHP Notice:  Trying to get property
 'comment_post_ID' of non-object in D:\xampp\htdocs\free-plugins\wp-
 admin\comment.php on line 43

 I haven't enabled any plugins and my site is running default Twenty Twenty
 theme. I had tried with multiple WP installation including a fresh
 installation and error showed up on all installations. I have also
 included the links to the screenshot which shall make the issue more
 clear.

 [http://prntscr.com/ud79k9]
 [http://prntscr.com/ud79c7]

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


More information about the wp-trac mailing list