I’m experiencing an issue with the theme options panel.
Whenever I try to save changes in the theme settings, WordPress displays the following error:
“Updating failed. The response is not a valid JSON response.”
The problem is not limited to the Footer Copyright Text. It affects multiple fields throughout the theme options, including for example:
Footer Copyright Text
Contact Us button text
Social Icons
Footer settings
And other theme option fields
The changes are not saved, and the error appears immediately after clicking Save.
What I’ve observed
The issue occurs specifically in the theme options panel, not while editing regular pages or posts.
The frontend of the website works normally.
The error appears every time I try to save the theme settings.
Screenshot attached.
Could you please investigate whether the theme is generating an invalid response during the save process?
Possible causes to check:
PHP warnings or fatal errors being output before the JSON response.
A REST API request being interrupted or returning invalid data.
Theme code echoing or printing unexpected output during the save process.
AJAX/REST endpoint used by the theme options.
Compatibility with the current WordPress version.
Please let me know if you need any additional information or access to the site.