Title: TypeError: window.wcAdminFeatures is undefined
Last modified: April 10, 2025

---

# TypeError: window.wcAdminFeatures is undefined

 *  Resolved [e dev](https://wordpress.org/support/users/efishinsea/)
 * (@efishinsea)
 * [1 year ago](https://wordpress.org/support/topic/typeerror-window-wcadminfeatures-is-undefined/)
 * The latest update is breaking other stuff that needs JS to work on the admin 
   side of our Multisite using WooCommerce
 *     ```wp-block-code
       TypeError: window.wcAdminFeatures is undefined/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=c80895686cf15fe5df09:2:214813 kl/wp-content/plugins/woocommerce/assets/client/admin/data/index.js?ver=411c9de47bbcc5579cf6:2:145748 Ll/wp-content/plugins/woocommerce/assets/client/admin/data/index.js?ver=411c9de47bbcc5579cf6:2:146827 Dl/wp-content/plugins/woocommerce/assets/client/admin/data/index.js?ver=411c9de47bbcc5579cf6:2:143638 Dl/wp-content/plugins/woocommerce/assets/client/admin/data/index.js?ver=411c9de47bbcc5579cf6:2:143638 bl/wp-content/plugins/woocommerce/assets/client/admin/data/index.js?ver=411c9de47bbcc5579cf6:2:144863 Lo/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=c80895686cf15fe5df09:2:215737
       ```
   

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

 *  [ndgcreative](https://wordpress.org/support/users/ndgcreative/)
 * (@ndgcreative)
 * [1 year ago](https://wordpress.org/support/topic/typeerror-window-wcadminfeatures-is-undefined/#post-18410612)
 * Getting a similar error, when I try to open the settings for Refer a Friend PREMIUM.
 * ———-
   Oops, something went wrong
 * We’re sorry for the inconvenience. Please try reloading the page, or you can 
   get support from the community forums.Get SupportReload PageClick for error details
 * **TypeError: Cannot read properties of undefined (reading ‘analytics’)**
 * at [https://c0.wp.com/p/woocommerce/9.8.1/assets/client/admin/app/index.js:2:214813](https://c0.wp.com/p/woocommerce/9.8.1/assets/client/admin/app/index.js:2:214813)
   at [https://c0.wp.com/p/woocommerce/9.8.1/assets/client/admin/data/index.js:2:145748](https://c0.wp.com/p/woocommerce/9.8.1/assets/client/admin/data/index.js:2:145748)
   at [https://c0.wp.com/p/woocommerce/9.8.1/assets/client/admin/data/index.js:2:146825](https://c0.wp.com/p/woocommerce/9.8.1/assets/client/admin/data/index.js:2:146825)
   at [https://c0.wp.com/p/woocommerce/9.8.1/assets/client/admin/data/index.js:2:143638](https://c0.wp.com/p/woocommerce/9.8.1/assets/client/admin/data/index.js:2:143638)
   at [https://c0.wp.com/p/woocommerce/9.8.1/assets/client/admin/data/index.js:2:143638](https://c0.wp.com/p/woocommerce/9.8.1/assets/client/admin/data/index.js:2:143638)
   at [https://c0.wp.com/p/woocommerce/9.8.1/assets/client/admin/data/index.js:2:144863](https://c0.wp.com/p/woocommerce/9.8.1/assets/client/admin/data/index.js:2:144863)
   at Lo ([https://c0.wp.com/p/woocommerce/9.8.1/assets/client/admin/app/index.js:2:215737](https://c0.wp.com/p/woocommerce/9.8.1/assets/client/admin/app/index.js:2:215737))
 * ———————
 *  Thread Starter [e dev](https://wordpress.org/support/users/efishinsea/)
 * (@efishinsea)
 * [1 year ago](https://wordpress.org/support/topic/typeerror-window-wcadminfeatures-is-undefined/#post-18410849)
 * If you open the file and add this at the beginning of the string of JS code, 
   it will resolve the problem until they get this fixed.
 *     ```wp-block-code
       var window.wcAdminFeatures = null; 
       ```
   
 *  Plugin Contributor [Albert Juhé Lluveras](https://wordpress.org/support/users/aljullu/)
 * (@aljullu)
 * [1 year ago](https://wordpress.org/support/topic/typeerror-window-wcadminfeatures-is-undefined/#post-18411288)
 * Thanks for opening this issue, [@efishinsea](https://wordpress.org/support/users/efishinsea/)
   and [@ndgcreative](https://wordpress.org/support/users/ndgcreative/)!
 * We are currently investigating this issue, but we haven’t been able to reproduce
   it yet. Could you please share your System Status Report (you can find it from
   WooCommerce > Status), and the exact page where you encounter the issue, ideally
   sharing the exact path (ie: `/wp-admin/...`)?
 * Thanks in advance!
 *  Plugin Contributor [Albert Juhé Lluveras](https://wordpress.org/support/users/aljullu/)
 * (@aljullu)
 * [1 year ago](https://wordpress.org/support/topic/typeerror-window-wcadminfeatures-is-undefined/#post-18412095)
 * Hello again, we have identified the issue and already have a [fix in progress](https://github.com/woocommerce/woocommerce/pull/57186).
   We will release a new version of WooCommerce including the fix next week. Based
   on that, I will mark this thread as solved. Thanks again for your report!

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

The topic ‘TypeError: window.wcAdminFeatures is undefined’ 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/)

 * 4 replies
 * 3 participants
 * Last reply from: [Albert Juhé Lluveras](https://wordpress.org/support/users/aljullu/)
 * Last activity: [1 year ago](https://wordpress.org/support/topic/typeerror-window-wcadminfeatures-is-undefined/#post-18412095)
 * Status: resolved