Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Contributor codersantosh

    (@codersantosh)

    Hello @artymikey,

    Please follow the following guidelines to find out the actual issue.

    • Make sure your installation meets the server requirements
    • Please deactivate plugin one by one and try to save the post, if the plugin is causing this, you will find it.
    • From your Cpanel file manager or FTP, goto WordPress installation and write following code on wp-config.php, see WP DEBUG
      define( 'WP_DEBUG', true );
      define( 'WP_DEBUG_LOG', true );

      after that try to save the post and view the debug.log log file inside the /wp-content/ folder. There should be an error. Let us know if you find any error.

    Best Regards

    Thread Starter Mikey

    (@artymikey)

    @codersantosh Some of these are too advance for me. Can’t the plugin just update to fix this issue?

    Plugin Contributor codersantosh

    (@codersantosh)

    @artymikey we don’t know the issue and if it actually comes from this plugin. Without knowing this we cannot fix it.

    Please try it once

    From your Cpanel file manager or FTP, goto WordPress installation and write following code on wp-config.php before the text line /* That's all, stop editing! Happy blogging. */

    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_LOG', true );

    after that try to save the post and view the debug.log log file inside the /wp-content/ folder on the WordPress installation. There should be an error. Let us know if you find any error.

    Plugin Contributor codersantosh

    (@codersantosh)

    @artymikey I am just guessing the issue, Can you delete the revision post using any of the delete revision plugins, after deleting the revision post try to save post again.
    Let me know if this fix the issue.

    Thread Starter Mikey

    (@artymikey)

    Deleting revisions didn’t work.

    I have no idea how to access my WP database

    Thread Starter Mikey

    (@artymikey)

    I disabled all plugins as well and it didn’t help.

    Plugin Contributor codersantosh

    (@codersantosh)

    Hello @artymikey ,

    I would like to invite you to live support of Gutentor .

    Note: Our live chat is available from 9 am to 6 pm GMT+5:45 on working days.

    Best Regards!

    Thread Starter Mikey

    (@artymikey)

    I uninstall all plugins including Gutentor, and Glutenberg and change my theme to default Twenty Twenty but still my page is not saving and show the errors the response is not valid JSON.

    Can someone from WordPress help me please?

    • This reply was modified 4 years, 2 months ago by Mikey.
    • This reply was modified 4 years, 2 months ago by Mikey.
    Plugin Contributor codersantosh

    (@codersantosh)

    Hello @artymikey,

    I am not sure if these will fix the issue but would like to suggest the following solutions.

    • Make sure there is not mixed content error(https/http) loading together
    • Go to Settings => Permalinks. Select Post name and save.
    • No worry if it is already selected, you can just click Save Changes again
    • After that try to save your post/page again

    If still, this doesn’t solve the issue, you can try posting on Fixing WordPress Forum.

    Good luck!

    Thread Starter Mikey

    (@artymikey)

    @codersantosh that’s a problem for posts – I have a page that isn’t saving.

    I tried what you said anyway and it didn’t work.

    Plugin Contributor codersantosh

    (@codersantosh)

    Unfortunately, I don’t have more to suggest expect above suggesstions

    Hi, I found this thread after running into the same problem. I tried to follow the instructions on getting debug output but despite the two defines added I don’t get any debug file written.
    My setup is a bit different – I am running nginx with php-fpm, not apache with phpmod.

    But I have a few more data points that might shed some light:

    I installed the classic editor and when I edit the post in that, I don’t have a problem saving changes to the page – when I use the block editor in the same page, I get the json error.

    I am pretty sure that this has worked sometime last week and I did make some changes but I don’t know which of the changes started to cause the problem because I did not edit a post after each of the changes. Here are the changes I made (the ones I remember):

    – updating PHP from 7.0 to 7.4
    – added the line try_files $uri $uri/ /index.php?$args; for all files in the nginx config file to add the index.php to the uri so that I can use better permalinks

    I hope we get to the bottom of this ??

    Plugin Contributor codersantosh

    (@codersantosh)

    Hello @merlinsilk,

    It is known issue using Gutenberg Editor not particularlly related to Gutentor. From my finding, I have written a documentation article for Troubleshooting Updating failed. The response is not a valid JSON response. Please read it and try to solve it.

    My guess for your website issue is from this change:

    – added the line try_files $uri $uri/ /index.php?$args; for all files in the nginx config file to add the index.php to the uri so that I can use better permalinks

    Best Regards!

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Updating failed. The response is not a valid JSON response.’ is closed to new replies.