Support » Plugin: Yoast SEO » PHP Fatal error Schema_IDs

  • Resolved georgievlg


    PHP Fatal error: Uncaught Error: Class ‘WPSEO_Schema_IDs’ not found in woocommerce-schema.php
    The problem occurs since the latest updates of Yoast WooCommerce SEO It breaks Single Product Page.

    CRITICAL Uncaught Error: Class ‘WPSEO_Schema_IDs’ not found in …/wp-content/plugins/wpseo-woocommerce/classes/woocommerce-schema.php:98
    Stack trace:
    #0 …/wp-includes/class-wp-hook.php(286): WPSEO_WooCommerce_Schema->change_product(Array, Object(WC_Product_Simple))
    #1 …/wp-includes/plugin.php(208): WP_Hook->apply_filters(Array, Array)
    #2 …/wp-content/plugins/woocommerce/includes/class-wc-structured-data.php(321): apply_filters(‘woocommerce_str…’, Array, Object(WC_Product_Simple))
    #3 …/wp-includes/class-wp-hook.php(286): WC_Structured_Data->generate_product_data(Object(WC_Product_Simple))
    #4 …/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
    #5 …/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
    #6 …/wp-content/plugins/wpseo-woocommerce/classes/woocommerce-schema.php in line 98

    also I can not provide a link to a page which shows this issue, because when i activate the Yoast SEO: WooCommerce plugin, my webshop breaks.
    When i disable the plugin everything works fine.

    Maybe this error affects many of your users. Here is a link with a similar problem posting 6 days ago in

    I think the problem is very clearly defined: WPSEO_Schema_IDs’ not found in woocommerce-schema.php, and I hope your team will soon resolve the issue that is re-activated for the second time since version Yoast for woocommerce SEO 11.

    Best regards,

Viewing 6 replies - 1 through 6 (of 6 total)
  • I have this problem too!

    Come on Yoast!! Please get this fixed or at least acknowledge the problem and let us know you are working on it.

    Doing some testing in the meantime, I discovered that this seems to be a problem coming from Yoast SEO Premium.

    When I roll back to the free version of Yoast SEO, the error disappears and the product pages display correctly.


    We apologize for the difficulties you are having with the plugin. Please make sure you are using Yoast SEO Premium or free v11.3 and also WooCommerce SEO v11.3. Does the issue resolve?

    If not, as you either have Yoast SEO Premium or WooCommere SEO you are entitled to our premium support channel. Please send a support email to so we can investigate further.

    Plugin Support devnihil


    We are going ahead and marking this issue as resolved due to inactivity. If you require any further assistance please create a new issue.

    Did you solve this?, I have the same error

    Thread Starter georgievlg


    I did not solve the problem. I don’t use the last 11.5 version now.
    I guess this plugin has made many websites ugly broken, but some of the auto-update customers do not even suspect.
    Two versions after 11.0 repeat this problem, and now also the last 11.5. The latest correctly working version is 11.4
    I opened a new topic because the old one was resolved in 11.4

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘PHP Fatal error Schema_IDs’ is closed to new replies.