WordPress.org

Make WordPress Core

#48287 closed defect (bug) (invalid)

Getting notice when deactivated our plugin.

Reported by: sumitsingh Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Posts, Post Types Keywords:
Focuses: Cc:

Description

Hi,

I have installed a plugin. in the plugin registered CPT. also frontend side the user able to create a post & add the comment(). after disabled the plugin, we are showing some notice. because CPT is unregistered after plugin desabled.

Note: We have turned on the error log in the config file.

See attached file screenshot => https://we.tl/t-eNI1Z0W2Y7

Thanks

Attachments (1)

Comments ‹ WP Feedback Demo — WordPress.png (493.3 KB) - added by sumitsingh 18 months ago.
Error screenshot file

Download all attachments as: .zip

Change History (4)

#1 @knutsp
18 months ago

  • Component changed from General to Posts, Post Types
  • Resolution set to invalid
  • Status changed from new to closed
  • Version 5.2.3 deleted

Hi there, welcome to WordPress Trac! Thanks for the ticket.

I'm sorry to hear you are having issues with WordPress. Please note that this Trac is used for enhancements and bug reporting for the WordPress core software, not for issues created by a specific plugin, and not for individual support questions.

Please try the support forums to get help with your site: https://wordpress.org/support/forums/.

#2 @sumitsingh
18 months ago

  • Resolution invalid deleted
  • Status changed from closed to reopened

Hi Knutsp,

Thanks for replied.

But this is the core WordPress library code issue.

Thanks

#3 @ocean90
18 months ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from reopened to closed

The debug warning is expected. You either have to delete the comments or register the post type again. See #16956 and [34091] for background.

Note: See TracTickets for help on using tickets.