• I am getting this error in WordPress: “Updating failed. Error message: The response is not a valid JSON response.”

    I am using WordPress 5.4.2 and using visual Gutenberg. The error happens when I am saving a draft or trying to publish a post. I have found out that the error only comes when I put an URL in a text-block. If I use HTML-block with URL there is no error. Please fix this!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Check your apache2.conf file. First make a backup copy, then…

    The following section is standard:

    <Directory /var/www/>
            Options Indexes FollowSymLinks
            AllowOverride None
            Require all granted
    </Directory>

    Change AllowOverride None to AllowOverride All then save it. Restart Apache then should be o.k.

    This assumes that your v-host file also has the AllowOverride All.

    • This reply was modified 4 years, 7 months ago by Jonnyirish. Reason: blockquoted word instead of making it bold
    Thread Starter aegirr

    (@aegirr)

    This is a bug in WordPress. I am not going to “fix the bug” by editing WordPress locally.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘JavaScript error’ is closed to new replies.