[wp-trac] [WordPress Trac] #53772: Error Messages and other with Custom Content Types

WordPress Trac noreply at wordpress.org
Sat Jul 24 21:27:46 UTC 2021


#53772: Error Messages and other with Custom Content Types
--------------------------+----------------------
 Reporter:  spyglassweb   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Editor        |     Version:
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------
Changes (by sabernhardt):

 * status:  new => closed
 * resolution:   => invalid
 * component:  General => Editor
 * milestone:  Awaiting Review =>


Old description:

> I am seeing various error messages appear since the latest WP.  The below
> error happens when creating a new post that is a CPT. When using mac in
> an updated Chrome browser we are unable to see the title and blocks to
> add text (the custom fields show, but not the standard WP fields)
>
> Deprecated: block_categories is deprecated since version 5.8.0! Use
> block_categories_all instead. in /var/www/vhosts/usbgf.org/dev.usbgf.org
> /wp-includes/functions.php on line 5458
>
> Deprecated: block_categories is deprecated since version 5.8.0! Use
> block_categories_all instead. in /var/www/vhosts/usbgf.org/dev.usbgf.org
> /wp-includes/functions.php on line 5458

New description:

 I am seeing various error messages appear since the latest WP.  The below
 error happens when creating a new post that is a CPT. When using mac in an
 updated Chrome browser we are unable to see the title and blocks to add
 text (the custom fields show, but not the standard WP fields)

 Deprecated: block_categories is deprecated since version 5.8.0! Use
 block_categories_all instead. in .../wp-includes/functions.php on line
 5458

 Deprecated: block_categories is deprecated since version 5.8.0! Use
 block_categories_all instead. in .../wp-includes/functions.php on line
 5458

--

Comment:

 @spyglassweb Welcome to WordPress Core Trac!

 Deprecation notices are supposed to show when a plugin (or theme) uses a
 deprecated function and debug is active.
 `define( 'WP_DEBUG', true );`

 If you switch that to `false` in your wp-config.php file (create a backup
 first), the notices should go away.

 Otherwise, you could keep debug on and try deactivating plugins one-by-one
 to find out which uses the deprecated `block_categories` filter. Then
 report the issue on their support forum, if that has not been done yet.

 I'll close this ticket because it should not be a core bug.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/53772#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list