You open a page in the WordPress editor and one or more blocks show a grey box: "This block contains unexpected or invalid content", with an Attempt Block Recovery button. The page itself usually still looks fine to visitors. What happened is that the block's saved HTML no longer matches what the block's code expects to see, so the editor refuses to guess. Nothing is lost yet. Here is how to find out why and fix it without throwing content away.
style or data- values) on save. The block comes back different from what it saved.| What you see | What it means | Usual fix |
|---|---|---|
| Same block type broken on many pages after an update | The plugin changed its saved HTML without a fallback | Update or roll back the plugin; then recover |
| One block broken after editing in Code editor | Hand edit no longer matches the block | Resolve, then recover or Convert to HTML |
| Block breaks every time an Editor saves it | WordPress strips attributes for that role | Save as an Administrator, move the code out of the post |
| "Your site doesn't include support for the ... block" | The block's plugin is off or deleted | Reactivate the plugin |
| "This block has encountered an error and cannot be previewed" | The block's JavaScript crashed, not its content | See the editor has encountered an unexpected error |
| Update button fails with "Updating failed" | The save itself is blocked | See publishing failed |
Most cases are one plugin update or one recovery click. If dozens of pages are affected or recovery keeps losing content, that is what the box below is for. Related: editor unexpected error, publishing failed, changes not showing.