When customizing a theme in WordPress, you may sometimes encounter error messages in a red frame such as “Saving failed,” “Update failed. The response is not a valid JSON response,” and “Saving failed.”
This post will explain how to resolve this issue as of September 2024.
I encountered this error when using WordPress’s default theme called Twenty Twenty-Four. It only appeared when I tried saving from the template customization screen.
If you are using Onamae.com, the WAF security setting might be turned ON in the Onamae.com control panel. Try turning it OFF.
To do this, access the rental server control panel:
https://cp.onamae.ne.jp/homepagesecurity/waf
In the left side panel, under Homepage Settings/Security, select the WAF option and turn off the Detection Log Management setting.
If you are using a security plugin in WordPress, such as the “SiteGuard” plugin, which has a WAF security setting, you can turn it OFF from the plugin’s settings page.
If the issue persists after these steps, feel free to leave a comment. I might be able to help further.
WAF (Web Application Firewall) is a security system designed to protect web applications from unauthorized access or attacks.
WAF plays a role in detecting and preventing application-level attacks. Specifically, it can detect attacks such as SQL injection, cross-site scripting (XSS), and malicious HTTP requests, blocking them before they reach the web application.
WAF is deployed at the boundary of the network. While a traditional firewall mainly protects the network layer, WAF monitors the communication to and from web applications, identifying attack patterns.
By implementing WAF, you can improve the security of publicly accessible web services and applications.
Introducing WAF can reduce the risk of data leaks or service outages caused by unauthorized access or attacks, making it a crucial security measure.
WAF is positioned between the web server and the internet, and it protects web applications through the following flow:
coiai