If your SEOPress FAQ v2 block throws “Block contains unexpected or invalid content,” it’s usually a serialization mismatch between how the block content was saved and how it’s now generated, often after a plugin update. Below are the fastest, safest fixes: update SEOPress to a version that includes the FAQ block fix, then Attempt Block Recovery or recreate the block so the new format is saved cleanly.
The SEOPress FAQ v2 block shows “Block contains unexpected or invalid content.” What’s the fix?
Use this sequence (top to bottom) until the error is gone:
Update SEOPress to a fixed version (9.1+). A recent release notes entry mentions: “FIX JSON FAQ schema with our FAQ block.” After updating, refresh the editor and test again.
When a block is saved, WordPress stores a canonical version of its content. If a subsequent plugin update changes the block’s output (for example, how JSON‑LD text strings or HTML entities are escaped), the editor compares “what’s in the database” with “what the block now outputs” and flags a mismatch. Updating, then resaving (or recreating) realigns the stored content with the block’s current serializer.
On pages that can’t be recovered, inspect the embedded JSON‑LD. Look for differences like escaped HTML strings vs. unescaped tags inside acceptedAnswer.text. Resaving with the updated block normalizes this automatically.
What are exact steps to make sure this never returns?
If you’re on multisite or staging, repeat the test with the same theme and plugin set to isolate environment‑specific differences.
WP Assistant is a free tool created by Atiba Software, a WordPress design and development company located in Nashville, TN. If you need more personalized WordPress assistance let us know, and we’ll get back to you ASAP!