• Resolved musazio

    (@musazio)


    Hello folks!

    I recently updated the Yoast SEO plugin from an old version. I am currently running the latest version. When I try to do the SEO Data optimization, it fails with the error:

    Error parsing the response to JSON.

    When looking at the chrome console, it says it fails with a HTTP 500 error when POSTing to <site-url>/wp-json/yoast/v1/link-indexing/posts. The exact error on the chrome console is:

    POST https://<site host>/wp-json/yoast/v1/link-indexing/posts 500 (Internal Server Error)

    I did try resetting the plugin data (‘Reset indexables tables & migrations’, ‘Reset Prominent words calculation’, and ‘Reset Internal link counter’) as suggested in one of the bunch of posts I saw regarding this error but the error remains.

    Can someone help me get past this issue?

    Thanks!
    – Musa

    • This topic was modified 3 years, 8 months ago by musazio.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter musazio

    (@musazio)

    Just looked at the error log and noticed another plugin (AutomateWoo) fails with a fatal error as a consequence of this.

    
    PHP Fatal error:  Uncaught Error: Call to undefined function AutomateWoo\wc_print_notices() in /<redacted>/wp-content/plugins/automatewoo/templates/
    communication-preferences/communication-form.php:18
    Stack trace:
    #0 /<redacted>/wp-content/plugins/automatewoo/includes/helpers.php(96): include()
    #1 /<redacted>/wp-content/plugins/automatewoo/includes/communication-page.php(53): aw_get_template('communication-p...', Array)
    #2 /<redacted>/wp-content/plugins/automatewoo/includes/communication-page.php(32): AutomateWoo\Communication_Page::output_preferences_form(Object(AutomateWoo\Customer))
    #3 /<redacted>/wp-includes/shortcodes.php(356): AutomateWoo\Communication_Page::output_preferences_shortcode('', '', 'automatewoo_com...')
    

    Does this mean that if I disable this other plugin then the SEO data optimization should work? What is the reason of this other plugin failing as a consecuence of the SEO operation?

    Thread Starter musazio

    (@musazio)

    Hello folks! Can someone help me with my questions?

    @musazio We’re sorry to hear you are experiencing this issue on your site.

    We understand that you are getting an error when running the SEO data optimization within the SEO Workout: error parsing the response to json

    First, I want to assure you that not performing the optimization process will not affect your site negatively in search results. Additionally, the optimization process will run silently in the background as content on your site is created, modified, or removed. As the optimization process makes our plugin work more efficiently, let’s look into what might be causing this on your site.

    The error above is generic, and we cannot say which was the cause of this. From time to time, we see that other site components could prevent SEO data optimization from running smoothly.

    Therefore as a first step, we ask you to try the following:

    1. Install and activate the Yoast Test Helper plugin if you don’t have it.
    2. Same for the Health Check plugin: https://ww.wp.xz.cn/plugins/health-check/. The plugin will permit you to perform a conflict check by deactivating plugins and switching themes. Doing so will not affect the SEO of your site, and your visitors will still be able to view your site as usual.
    3. Verify you have the default theme Twenty-Twenty. If not, please install it.
    4. Go to your WordPress admin dashboard > Tools (on the left sidebar) > Yoast Test.
    5. Click on the ‘Reset indexables tables & migrations,’ ‘Reset Prominent words calculation, and ‘Reset Internal link counter’ buttons. After each click, the page will reload to confirm that each reset was successful.
    6. Activate the Troubleshooting Mode (TM) in the Health Check plugin.
    7. In TM, activate only the Yoast SEO plugins (both free and premium) and the default theme Twenty-Twenty.
    8. Rerun the SEO data optimization.
    9. Deactivate the Troubleshooting Mode in the Health Check plugin.
    In this way, was the SEO data optimization completed?

    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.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Error on SEO data optimization’ is closed to new replies.