How to fix block was affected by errors and may not function properly

This issue is faced when your WordPress is updated to the v5.8 version.
There is a simple solution to this. You only have to install & activate “Classic Widgets” plugin. It would resolve the issue.

Errors seems like

The "nav_menu" block was affected by errors and may not function properly. Check the developer tools for more details.

The "meta" block was affected by errors and may not function properly. Check the developer tools for more details.

The "archives" block was affected by errors and may not function properly. Check the developer tools for more details.

The "categories" block was affected by errors and may not function properly. Check the developer tools for more details.

The "recent-comments" block was affected by errors and may not function properly. Check the developer tools for more details.

The "recent-posts" block was affected by errors and may not function properly. Check the developer tools for more details.

The "search" block was affected by errors and may not function properly. Check the developer tools for more details.

The "woodmart-html-block" block was affected by errors and may not function properly. Check the developer tools for more details.

The "woocommerce_price_filter" block was affected by errors and may not function properly. Check the developer tools for more details.

Solution 01 Using plugin – Widgets Problems

Here you need to install a plugin named Classic Widgets by WordPress Contributors.

Classic Widgets snap
Classic Widgets WordPress Plugin

Classic Widgets is an official plugin maintained by the WordPress team that restores the previous (“classic”) WordPress widgets settings screens. It will be supported and maintained until at least 2022, or as long as is necessary.

Solution 01 – Fix using code

IF you don’t want to install the plugin then add the below code in functions.php (it’s better if you have a child theme activated).

Add this code to the theme function:
add_filter( 'use_widgets_block_editor', '__return_false' );

Leave a Comment