In my quest to find out what is causing the failed JSON error in the block editor, I reluctantly disabled all of the plugins on the site and switched to a default theme. This didn’t solve the issue and now I have to spend an annoying amount of time reconfiguring when and where widgets were displayed.
Someone on Twitter recommended that I open the browser’s inspector tool to look at the header files when the error occurs.
When the error occurs, I see a 403 Forbidden error in the header. Upon closer inspection using the Response tab, this is what I see.
Please enable cookies.
Sorry, you have been blocked
You are unable to access convesioperformance.com
Why have I been blocked?
This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.
What can I do to resolve this?
You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page.
This message leads me to believe that there is some sort of hosting configuration problem or security rule that Cloudflare has that is causing the issue. I’ve sent this information to the webhost and am now in a holding pattern. At one point, I set up a fresh install of WordPress using TasteWP, and the block editor performed flawlessly.
One of the reasons I’m so adamant about figuring out what is going on is because I want to know if it’s WordPress’ fault or something out of my control. When I’m writing content and I’m suddenly presented with errors, the first thing that crosses my mind is that the block editor sucks. But if it’s a hosting or security configuration issue, obviously it’s not WordPress’ fault.
In addition to the JSON error, I’ve also noticed that I can’t embed videos from YouTube. While I’m not certain, I believe the two issues are related. Hopefully, I’ve made some progress and the host confirms that there is an issue, they fix it, and I can have a block editor that’s not crippled.