• Resolved havemaskwilltravel

    (@havemaskwilltravel)


    I’ve installed Yoast SEO 22.7 and Yoast SEO Premium 22.7 but when I try to publish my homepage, I’m getting “Updating failed. The response is not a valid JSON response”. When I deactivate all plugins except Yoast SEO 22.7 I’m still getting the error. WP is up to date. When I deactivate Yoast SEO 22.7 as well, I can publish my homepage. I’ve now deactivated both plugins and installed Yoast SEO 22.8-RC4 (I think it’s a beta version) and I have no errors. Has anyone else experienced this?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello @havemaskwilltravel

    Thanks for using the Yoast SEO plugin and I’m sorry about the issue. We recently released v22.8. Please update to that version and let us know if the issue persists.

    Thread Starter havemaskwilltravel

    (@havemaskwilltravel)

    Hey Maybellyne, thanks, I’ve updated both plugins to v22.8 but the problem remains. It looks like custom WP shortcode combined with Yoast is causing the JSON response: when I remove the shortcode from my homepage, the page is published with no error. I’ve tried and google to see if others have experienced this and this sounds very similar:
    https://stackoverflow.com/questions/77383545/wp-shortcode-returns-json-error-despite-showing-content-on-website

    I don’t know if it’s directly caused by your plugin(s) but when I deactivate Yoast SEO, I can publish the page with no error. When I activate Yoast SEO, I can ONLY publish my page with no JSON error if the custom WP shortcode I’ve mentioned, is removed first. The shortcode has nothing to do with Yoast, it’s just a search form.

    Plugin Support Mushrit Shabnam

    (@611shabnam)

    Hi @havemaskwilltravel

    I have tried to replicate this from my local site with Yoast SEO 22.8 and I didn’t face this. The error within the page/post editor can be related to issues like site’s permalinks. To resolve this, can you please perform the following steps:

    1. In WordPress, go to?WordPress dashboard > Settings > Permalinks
    2. Click the?‘Save Changes’?button without making any modifications.
    Thread Starter havemaskwilltravel

    (@havemaskwilltravel)

    Hi Mushrit, I’ve done that to no avail.

    Plugin Support Maybellyne

    (@maybellyne)

    Often, we see problems occur in combination with another plugin or theme. The fastest way to rule out any conflict is to deactivate all non-Yoast plugins and switch to a standard theme like Twenty Twenty-Two.

    Please test this on your development or staging site if you have one. If not, we recommend using the Health Check & Troubleshooting plugin. This plugin has a troubleshooting mode, which does not affect normal visitors to your site.

    If you’re unfamiliar with checking for conflicts, we’d like to point you to a step-by-step guide that will walk you through the process: How to check for plugin conflicts

    If you feel uncomfortable doing this yourself or if this does not solve your issue, our Yoast SEO Premium plugin comes with one year of (technical) support.

    Plugin Support Jose Varghese

    (@josevarghese)

    This thread was marked resolved due to a lack of activity, but you’re always welcome to re-open the topic. Please read this post before opening a new request.

    Thread Starter havemaskwilltravel

    (@havemaskwilltravel)

    I have deactivated all plugins, then activated them again, and the JSON error did not occur anymore when updating or publishing the page. I have no idea why.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Version 22.7 json error’ is closed to new replies.