• Resolved RandomDude

    (@gazuots)


    Fatal error: Uncaught Error: Call to undefined method WP_Error::get_data() in …./plugins/woo-gutenberg-products-block/src/RestApi.php:52
    Stack trace: #0 …./plugins/woo-gutenberg-products-block/src/Assets.php(184): Automattic\WooCommerce\Blocks\RestApi::get_routes_from_namespace(‘wc/store’)
    #1 …./wp-includes/class-wp-hook.php(287): Automattic\WooCommerce\Blocks\Assets::get_wc_block_data(Array)
    #2 …./wp-includes/plugin.php(212): WP_Hook->apply_filters(Array, Array)
    #3 …./plugins/woo-gutenberg-products-block/src/Assets/AssetDataRegistry.php(132): apply_filters(‘woocommerce_sha…’, Array)
    #4 …./plugins/woo-gutenberg-products-block/src/Assets/AssetDataRegistry.php(223): Automattic\WooCommerce\Blocks\Assets\AssetDataRegistry->initialize_core_data()
    #5 /home/te in …./plugins/woo-gutenberg-products-block/src/RestApi.php on line 52

    Hey woo lovers!
    I see this in admin>all products and almost 3 days i cant fix this..
    Any ideas whats wrong?

    • This topic was modified 4 years, 1 month ago by RandomDude.
    • This topic was modified 4 years, 1 month ago by RandomDude.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Hi there ??

    Normally, this kind of problem is usually caused by a conflict with your theme or with another plugin.
    ?
    The best way to determine this is to:

    • Temporarily switch your theme to Storefront
    • Disable all plugins except for WooCommerce
    • Repeat the action that is causing the problem

    If you’re not seeing the same problem after completing the conflict test, then you know the problem was with the plugins and/or theme you deactivated. To figure out which plugin is causing the problem, reactivate your other plugins one by one, testing after each, until you find the one causing conflict. You can find a more detailed explanation on how to do a conflict test here.

    Before you start

    1. First, please make sure you have a good backup in place of your full site and database. Most hosting companies have this included in the subscription, but you could also consider using a service like?Jetpack. If something goes wrong, it’s nice to know that you can restore your site.
    2. Second, I would suggest installing a plugin called?Health Check & Troubleshooting. This is a plugin developed by the WordPress community and it allows you to disable plugins without affecting your current site visitors.

    I hope that helps!

    Thread Starter RandomDude

    (@gazuots)

    Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    It sounds like this issue is directly related to the WooCommerce Blocks.

    So in this case, I would like to recommend you to contact us at or WooCommerce Blocks support team so that they can help you with this issue. Here is the link to their support forum:

    https://www.ads-software.com/plugins/woo-gutenberg-products-block/

    Please kindly note that this particular forum is for questions that are directly related to the features and functionality of the Core WooCommerce plugin.

    I hope this helps. ??

    Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Since it’s been a while since we last heard back from you, I’m going to mark this thread resolved.

    Hopefully, you were able to find a solution to your problem! If you have further questions, please feel free to open a new topic.

    Cheers! ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Fatal error: Uncaught Error: Call to undefined method WP_Error::get_data()’ is closed to new replies.