If you cannot save or edit posts or pages and see an error message like “Updating failed. The response is not a valid JSON response,” disable Mod Security to see if it is causing a false positive.

To disable Mod Security: How to enable or disable Mod Security – Enhance Hosting
If the issue resolves when Mod Security is disabled, please contact our support team to check and whitelist the problematic rule on your domain.