• axelburwitz

    (@axelburwitz)


    hi all

    have a fresh clean install of wp 6.6.1,
    any try to update a standard post or page as delivered with the wp install or any try to add a new post or page ends with the error message
    “Publishing failed. The response is not a valid JSON response.”

    so, the heart and purpose of the wp does not work right from the start

    any advice very welcome

Viewing 2 replies - 1 through 2 (of 2 total)
  • threadi

    (@threadi)

    Such a message is usually caused by an error on the server side. Have a look under Tools > Site Health to see if any messages are displayed there. It is possible that a setting or a PHP library is missing on the hosting which is causing this message. If this is not enough, I would recommend that you take a look at the error log in the hosting. The server-side error should be listed there so that you can also recognise the cause.

    Thread Starter axelburwitz

    (@axelburwitz)

    Thanks for your advice! Following your guidance I checked the entries in “Site Health”. Two recommendations indicated possible causes:
    – REST API errors..
    – File system not accessible..(or so)
    After search in internet I found two things to try and change:

    In apache2 configuration change to:

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

    In wp-config.php insert at the end:

    define(‘FS_METHOD’,’direct’);

    and that resolved my error case!

    Thanks again and for me this is resolved

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.