Title: Error on SEO data optimization
Last modified: September 21, 2022

---

# Error on SEO data optimization

 *  Resolved [musazio](https://wordpress.org/support/users/musazio/)
 * (@musazio)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/error-on-seo-data-optimization/)
 * 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](https://wordpress.org/support/users/musazio/).

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

 *  Thread Starter [musazio](https://wordpress.org/support/users/musazio/)
 * (@musazio)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/error-on-seo-data-optimization/#post-16029292)
 * 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](https://wordpress.org/support/users/musazio/)
 * (@musazio)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/error-on-seo-data-optimization/#post-16048292)
 * Hello folks! Can someone help me with my questions?
 *  [devnihil](https://wordpress.org/support/users/devnihil/)
 * (@devnihil)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/error-on-seo-data-optimization/#post-16052807)
 * [@musazio](https://wordpress.org/support/users/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](https://wordpress.org/plugins/yoast-test-helper/)
   if you don’t have it.
    **2. **Same for the **Health Check plugin:** https://wordpress.
   org/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](https://wordpress.org/themes/twentytwenty/).
   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?
 *  [Jeroen Rotty](https://wordpress.org/support/users/jeroenrotty/)
 * (@jeroenrotty)
 * [3 years, 8 months ago](https://wordpress.org/support/topic/error-on-seo-data-optimization/#post-16066772)
 * 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](https://wordpress.org/support/topic/read-this-before-your-post/)
   before [opening a new request](https://wordpress.org/support/plugin/wordpress-seo#new-post).

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

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

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Jeroen Rotty](https://wordpress.org/support/users/jeroenrotty/)
 * Last activity: [3 years, 8 months ago](https://wordpress.org/support/topic/error-on-seo-data-optimization/#post-16066772)
 * Status: resolved