Skip to main content

Hosting

General

Web Application Firewalls (WAF) Blocking Save Requests

In some configurations, saving changes may be blocked by a Web Application Firewall (WAF) incorrectly flagging the request as a security threat. If this happens, you'll see the warning: The response is not a valid JSON response when attempting to save your content. This issue typically arises when complex attributes are present in the post content, such as scroll animations or responsive settings, which are stored as JSON objects. Some highly sensitive firewall configurations may misinterpret these structured data requests as potential threats.

For example, Nectarblocks stores complex attributes in the following format:

<!-- wp:nectar-blocks/row {"blockId":"block-1aFVVcO","bgColor":{"desktop":{"type":"solid","solidValue":"#ffffff"},"tablet":{"type":"solid","solidValue":"#000000"},"mobile":{"type":"solid","solidValue":"#888888"},"hover":{}}} -->

If you encounter this issue, we recommend contacting your hosting provider to review the WAF configuration. They may be able to temporarily disable or adjust its sensitivity to allow these requests to pass through successfully.

Provider-Specific Issues

Hostinger

Poorly Configured Default Caching Plugin

  • Found 7/4/24
  • The Lightspeed Caching Plugin enabled by default on Hostinger plans is tuned to cache for logged in users, which includes Admin users. If the cache is not updated then you cannot see the changes made to your website as you are still viewing an older, cached copy.
  • Solution:
    • Option 1: Disable caching for logged in users.
    • Option 2: Clear cache after making any change (this will be a painful workflow).

Wordpress.com

Fixed in 1.0.4 - WP.com injecting metric collection into saving function

  • Found 7/3/24
  • wordpress.com is overriding a core WP JS function that affects saving generating page CSS correctly.
  • Fix: Update to version 1.1.0 of Nectarblocks.