• Hello!

    This plugin provokes this error in editor and widgets WP admin pages, as it is using a deprecated hook…

    PHP Deprecated: block_categories ha quedado obsoleto desde la versión 5.8.0. Utiliza block_categories_all en su lugar. in …\wp-includes\functions.php on line 5698

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Vicky Agravat

    (@vickyagravat)

    Hello @promostudio

    Yes, that issue was already accepted.

    It will updated in next feature update.
    But, if you don’t want to see the warning, just disable WP_DEBUG in wp-config.php file.

    define( 'WP_DEBUG', false );

    Thank you.

    Thread Starter Fernando García

    (@promostudio)

    Hello Vicky, yes I know, it is a development site.

    Also block options appear malformed.

    I’ll wait for new version.

    Thank you!

    Hi Vicky! Thanks for your plugin please update and fix this error, thanks!

    Just to fix that:

    In line 72 includes/class-codemirror-blocks.php

    replace add_action('block_categories', array($this, 'block_categories'), 10, 2);

    with: add_action('block_categories_all', array($this, 'block_categories_all'), 10, 2);

    and in line 395

    replace public function block_categories( $categories, $post ) {

    with: public function block_categories_all( $categories, $post ) {

    • This reply was modified 2 years, 2 months ago by minimamente.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Deprecated block_categories error’ is closed to new replies.