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

Quick Fix: How to fix block was affected by errors without plugin 😎?

Quick Fix Steps: (if you don’t like Classic Widget Plugin then this quick fix will help you)

  • 1. Create a backup using Updraft Backup Plugin or any.
  • 2. Deactivate your currently active theme, which means active any other theme like Twenty-Twenty-One.
  • 3. Go back to Widgets and check there will be chances of no error.
  • Now again activate your previous theme.
  • Go back again Widgets and there will be 99% chances of no error this time.
  • After activating the theme you may need to rearrange the widgets block.
  • Suppose by doing above steps, there is still errors then you can follow the below methods.

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