• Resolved Tailored Media

    (@tailoredweb)


    Hello, I’m testing the RC3 for WordPress 5.8, and I noticed a warning:
    Deprecated: block_categories is deprecated since version 5.8.0! Use block_categories_all instead.

    WP 5.8 is due to be released in a week, so it would be good to fix this up. Looks like this warning comes from class-ultimate-blocks-category.php:42

    You can simply change this:
    add_filter( 'block_categories', array( $this, 'block_categories' ) );

    To this:
    add_filter( 'block_categories_all', array( $this, 'block_categories' ) );

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Imtiaz Rayhan

    (@imtiazrayhan)

    Hi @tailoredweb,

    Thank you so much for the heads up.

    We are planning an update for next week.

    We will fix it before the update.

    We appreciate the help.

    Kind regards.

    We are seeing this error in the latest release.

    It is impacting an author that uses mac on both safari and chrome.

    He is unable to see the title and blocks when trying to create a post.

    reconfirming that this issue still exists. I’m a windows user and I cannot edit any post as this warning shows up before.

    I use chrome and I have the latest WP version.

    Deprecated: block_categories ?????? ??? ?????? 5.8.0 ?????? block_categories_all ????? ????. in /home/customer/www/oolom.com/public_html/wp-includes/functions.php on line 5458

    Plugin Author Imtiaz Rayhan

    (@imtiazrayhan)

    Please update your plugin to the latest version.

    We have fixed it in the latest version.

    Kind regards.

    Hi,
    Same issue with this error message :
    “Deprecated: block_categories est obsolète depuis la version 5.8.0 ! Utilisez block_categories_all à la place. in /home2/sc3moau8973/public_html/wp-includes/functions.php on line 5458” when i try to add a post type.

    • This reply was modified 3 years, 8 months ago by aurebcomin.
    FDD

    (@freedopedownloads)

    I’m getting the same thing since I updated today.
    “Deprecated: block_categories is?deprecated?since version 5.8.0! Use block_categories_all instead. in?/home/vpqdyqno6i3k/public_html/wp-includes/functions.php?on line?5458”

    But it’s not causing an issue with posts, it’s causing some issues with adding users

    • This reply was modified 3 years, 8 months ago by FDD.

    I had white screen when trying to add new page and this error was reported. I couldn’t figure it out until I saw this discussion and noticed the link to Gutenburg blocks plugin at the top. I remembered Gutenburg has caused me issues in the past so I installed disable Gutenberg plugin and instantly fixed the issue.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘WP 5.8 deprecated block_categories filter’ is closed to new replies.