Title: WooCommerce Analytics Error &#8211; TypeError: d.useDispatch(&#8230;) is null
Last modified: April 24, 2025

---

# WooCommerce Analytics Error – TypeError: d.useDispatch(…) is null

 *  Resolved [scottm52](https://wordpress.org/support/users/scottm52/)
 * (@scottm52)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/woocommerce-analytics-error-typeerror-d-usedispatch-is-null/)
 * Processing orders this morning and now Analytics has started failing…. No new
   plugins, etc. Everything else has been stable and fully operational. No errors
   in the web server logs.
 * [https://www.mywebsite.com/wp-admin/admin.php?page=wc-admin&path=%2Fanalytics%2Foverview&period=month&compare=previous_period](https://www.mywebsite.com/wp-admin/admin.php?page=wc-admin&path=%2Fanalytics%2Foverview&period=month&compare=previous_period)
 * TypeError: d.useDispatch(…) is null
 * Ao@https://www.MYWEBSITE.com/wp-content/plugins/woocommerce/assets/client/admin/
   app/index.js?ver=c80895686cf15fe5df09:2:211256
   divhw@https://www.MYWEBSITE.com/
   wp-includes/js/dist/components.min.js?ver=787a8a74848a09b31e37:26:216830gw@https://
   www.MYWEBSITE.com/wp-includes/js/dist/components.min.js?ver=787a8a74848a09b31e37:
   26:217473xw@https://www.MYWEBSITE.com/wp-includes/js/dist/components.min.js?ver
   =787a8a74848a09b31e37:26:217818w@https://www.MYWEBSITE.com/wp-content/plugins/
   woocommerce/assets/client/admin/admin-layout/index.js?ver=092d36684bd43b3c307d:
   1:1978Oo@https://www.MYWEBSITE.com/wp-content/plugins/woocommerce/assets/client/
   admin/app/index.js?ver=c80895686cf15fe5df09:2:212216I@https://www.MYWEBSITE.com/
   wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=c80895686cf15fe5df09:
   2:120647N@https://www.MYWEBSITE.com/wp-content/plugins/woocommerce/assets/client/
   admin/app/index.js?ver=c80895686cf15fe5df09:2:120148s@https://www.MYWEBSITE.com/
   wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=c80895686cf15fe5df09:
   2:114831No<@https://www.MYWEBSITE.com/wp-content/plugins/woocommerce/assets/client/
   admin/app/index.js?ver=c80895686cf15fe5df09:2:214813kl/</<@https://www.MYWEBSITE.
   com/wp-content/plugins/woocommerce/assets/client/admin/data/index.js?ver=411c9de47bbcc5579cf6:
   2:145748Ll/</<@https://www.MYWEBSITE.com/wp-content/plugins/woocommerce/assets/
   client/admin/data/index.js?ver=411c9de47bbcc5579cf6:2:146827Dl/</<@https://www.
   MYWEBSITE.com/wp-content/plugins/woocommerce/assets/client/admin/data/index.js?
   ver=411c9de47bbcc5579cf6:2:143638Dl/</<@https://www.MYWEBSITE.com/wp-content/
   plugins/woocommerce/assets/client/admin/data/index.js?ver=411c9de47bbcc5579cf6:
   2:143638bl/</<@https://www.MYWEBSITE.com/wp-content/plugins/woocommerce/assets/
   client/admin/data/index.js?ver=411c9de47bbcc5579cf6:2:144863Lo@https://www.MYWEBSITE.
   com/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=c80895686cf15fe5df09:
   2:215737
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwoocommerce-analytics-error-typeerror-d-usedispatch-is-null%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [shahzeen(woo-hc)](https://wordpress.org/support/users/shahzeenfarooq/)
 * (@shahzeenfarooq)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/woocommerce-analytics-error-typeerror-d-usedispatch-is-null/#post-18435635)
 * Hi there!
   I understand your concern. To assist you further, could you please 
   confirm if you’ve recently updated any plugins, after which the issue started
   appearing?
 * In the meantime, please go to **WooCommerce → Status → Tools**, and run the tool
   called **“Recreate Analytics tables”**. Then, check if the issue is resolved.
   
   Also, I’d like to understand your site properly. Please share with us the necessary
   information below for us to investigate the issue further:
    - **System Status Report** which you can find via WooCommerce > Status
    - **Fatal error logs** (if any) under WooCommerce > Status > Logs.
 * Please use [https://pastebin.com/](https://pastebin.com/) or [https://gist.github.com/](https://gist.github.com/)
   and share a link to that paste in reply here. Once we have more information, 
   we’ll be able to assist you further.
 *  Plugin Support [Kay U a11n](https://wordpress.org/support/users/kingsleyinfo/)
 * (@kingsleyinfo)
 * [1 year, 1 month ago](https://wordpress.org/support/topic/woocommerce-analytics-error-typeerror-d-usedispatch-is-null/#post-18457261)
 * We haven’t heard back from you in a while, so I’m going to mark this as resolved–
   we’ll be here if and/or when you are ready to continue.
 * If you have a few minutes, we’d love if you could leave us a review: [https://wordpress.org/support/plugin/woocommerce/reviews/](https://wordpress.org/support/plugin/woocommerce/reviews/)

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

The topic ‘WooCommerce Analytics Error – TypeError: d.useDispatch(…) is null’ is
closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Kay U a11n](https://wordpress.org/support/users/kingsleyinfo/)
 * Last activity: [1 year, 1 month ago](https://wordpress.org/support/topic/woocommerce-analytics-error-typeerror-d-usedispatch-is-null/#post-18457261)
 * Status: resolved