This block contains unexpected or invalid content – WordPress Fixed

This block contains unexpected or invalid content.
Written by Aakif

“This block contains unexpected or invalid content” is a common error in WordPress Block Editor. Being a webmaster or content writer, you must have encountered this error multiple times.

The error typically occurs when there is an issue with the formatting or syntax of a block that has been added to a post or page. Mostly this error occurs when we try to edit an already published post.

WordPress shows this block error when it is unable to properly display the content.

In this write-up, we will be sharing three simple steps to fix this error.

As this solution works perfectly for us, we are sure it would work for you too.

Fixing the error “this block contains unexpected or invalid content”

This error can be resolved in three simple steps as follows.

  • Click the three dots after Attempt Block Recovery. Do not click Attempt Block Recovery as this would not resolve the issue.
  • Now click, Convert to Classic Block.
  • Now, click Convert to Blocks.

You should now be able to see your content.

Let us know if you are still facing any related issues in the comment section. Together we will fix that too.


About the author


A versatile human being with a passion for reading and writing - always striving for growth, living in the moment but trying to keep pace with the evolving world.

Leave a Comment