Site icon Hip-Hop Website Design and Development

Widget editing returns JSON response error

I am trying to modify the sidebar widgets under Appearance -> Widgets, but whatever I do (just change one option, or remove a widget, etc.), as soon as I press the Update button, on the bottom left it says There was an error. The response is not a valid JSON response.

Upon inspecting the Network tab of the browser DevTools, the request is showing up as v1?_local=user and the request URL is https://host/wp-json/batch/v1?_locale=user with a method of OPTIONS. This request returns a status code 200, but there is no response data – unsure if this could be the issue or not.

What I tried so far (after each point I tried editing the widgets again):

Everything else seems to work just fine, I can create/edit posts, pages, etc., but the widget editing keeps failing.

What else can I try to fix this issue?