Member-only story
If your WordPress widgets are locked and showing a JSON error, there’s a simple fix
Why widget areas show a padlock and how to remove a widget when the UI won’t let you
If you’re not a Medium member, read the full article here.
I was helping a client remove a widget from the footer on their website recently when I ran into this error:
“There was an error. The response is not a valid JSON response.”
Widget Areas were padlocked
Checking the widget areas in list view showed a padlock, and I couldn’t see any way to unlock them. I’m not sure why it happened, but it’s an older, pre-Gutenberg theme, which might have something to do with it.
The Classic Widgets plugin didn’t work
Googling the issue, I found this video, which suggests using the Classic Widgets plugin. However, even in classic view, the widgets couldn’t be moved or deleted.








