• Hi,

    while editing a post, if I insert more than one image block from CoBlocks (both same or different types), I receive the error “Updating failed. The response is not a valid JSON response“.

    Enabling the WP debug support, in the log file I can read “PHP Notice: Trying to get property 'ID' of non-object in /home/rlkhqruy/public_html/wp-content/themes/hestia/inc/views/class-hestia-tweaks.php on line 71“.

    I can’t find a way to track the error and define how guilty.

    Best regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Aleksandar

    (@gdalex)

    Hi @thenino,

    Thanks for reaching out!

    I couldn’t seem to replicate this issue on my test website, so this seems to be related to either your hosting, firewall, or a theme/plugin conflict.

    Do you have a firewall or CDN service active? If so, try whitelisting the following URL paths in it:

    wp-json/wp/v2/pages
    wp-json/wp/v2/posts
    wp-json/wp/v2/users
    wp-json/wp/v2/media

    Alternatively, you can try to disable all other active plugins and or switch the theme to check if there is some sort of conflict.

    Please let me know if this helped!

    Thread Starter The Nino

    (@thenino)

    Hi @gdalex,

    I did some test on the installed plugins and I’ve discovered that the “guilty” is “WP User Avatar” ( https://www.ads-software.com/plugins/wp-user-avatar/ ), but only with image blocks from coBlocks and a standard gallery from WordPress.

    I’ve disabled the plugin and wrote to the authors. We’ll see…

    Regards

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