[wp-trac] [WordPress Trac] #50150: Notice: map_meta_cap was called incorrectly. The post type (post name) is not registered

WordPress Trac noreply at wordpress.org
Tue May 12 12:47:38 UTC 2020


#50150: Notice: map_meta_cap was called incorrectly. The post type (post name) is
not registered
-------------------------------------------------+-------------------------
 Reporter:  sumitsingh                           |      Owner:  (none)
     Type:  defect (bug)                         |     Status:  new
 Priority:  normal                               |  Milestone:  Awaiting
                                                 |  Review
Component:  Comments                             |    Version:  5.4.1
 Severity:  major                                |   Keywords:
  Focuses:  accessibility, administration,       |
  coding-standards                               |
-------------------------------------------------+-------------------------
 Hi,

 I am facing the issue on latest wordpress version 5.4.1 in comment list
 page.
 https://ourclareroots.ie/wp-admin/edit-comments.php
 I am describing when this issue are happening.
 1) Installed Custom post type plugin
 2) Create a post
 3) user comment in custom post on fronted
 4) after showing properly all comments list
 5) But when disabled the custom post type plugin. then showing error
 notice if i have enabled WP_DEBUG mode true "define('WP_DEBUG', true);"

 More information see screenshot.

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


More information about the wp-trac mailing list