Title: Error During Setup
Last modified: June 19, 2025

---

# Error During Setup

 *  Resolved [dgadoury](https://wordpress.org/support/users/dgadoury/)
 * (@dgadoury)
 * [11 months, 3 weeks ago](https://wordpress.org/support/topic/error-during-setup-5/)
 * Error during setup wizard:
 * **TypeError: Cannot read properties of undefined (reading ‘filter’)**
 * at PL ([https://therapytoolkit.org/wp-content/plugins/woocommerce-payments/dist/index.js?ver=9.5.0:9:212257](https://therapytoolkit.org/wp-content/plugins/woocommerce-payments/dist/index.js?ver=9.5.0:9:212257))
   at Suspense at Pe ([https://therapytoolkit.org/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=64467b9fe6bfde7d9061:2:162742](https://therapytoolkit.org/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=64467b9fe6bfde7d9061:2:162742))
   at div at div at me ([https://therapytoolkit.org/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=64467b9fe6bfde7d9061:2:156901](https://therapytoolkit.org/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=64467b9fe6bfde7d9061:2:156901))
   at div at hw ([https://therapytoolkit.org/wp-includes/js/dist/components.min.js?ver=336a01176fa8097fbf37:26:216841](https://therapytoolkit.org/wp-includes/js/dist/components.min.js?ver=336a01176fa8097fbf37:26:216841))
   at gw ([https://therapytoolkit.org/wp-includes/js/dist/components.min.js?ver=336a01176fa8097fbf37:26:217484](https://therapytoolkit.org/wp-includes/js/dist/components.min.js?ver=336a01176fa8097fbf37:26:217484))
   at xw ([https://therapytoolkit.org/wp-includes/js/dist/components.min.js?ver=336a01176fa8097fbf37:26:217829](https://therapytoolkit.org/wp-includes/js/dist/components.min.js?ver=336a01176fa8097fbf37:26:217829))
   at w ([https://therapytoolkit.org/wp-content/plugins/woocommerce/assets/client/admin/admin-layout/index.js?ver=092d36684bd43b3c307d:1:1989](https://therapytoolkit.org/wp-content/plugins/woocommerce/assets/client/admin/admin-layout/index.js?ver=092d36684bd43b3c307d:1:1989))
   at Pn ([https://therapytoolkit.org/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=64467b9fe6bfde7d9061:2:224104](https://therapytoolkit.org/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=64467b9fe6bfde7d9061:2:224104))
   at O ([https://therapytoolkit.org/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=64467b9fe6bfde7d9061:2:125353](https://therapytoolkit.org/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=64467b9fe6bfde7d9061:2:125353))
   at P ([https://therapytoolkit.org/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=64467b9fe6bfde7d9061:2:124794](https://therapytoolkit.org/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=64467b9fe6bfde7d9061:2:124794))
   at a ([https://therapytoolkit.org/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=64467b9fe6bfde7d9061:2:119308](https://therapytoolkit.org/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=64467b9fe6bfde7d9061:2:119308))
   at [https://therapytoolkit.org/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=64467b9fe6bfde7d9061:2:226750](https://therapytoolkit.org/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=64467b9fe6bfde7d9061:2:226750)
   at [https://therapytoolkit.org/wp-content/plugins/woocommerce/assets/client/admin/data/index.js?ver=e80c789b2e79ff495cb0:2:156426](https://therapytoolkit.org/wp-content/plugins/woocommerce/assets/client/admin/data/index.js?ver=e80c789b2e79ff495cb0:2:156426)
   at [https://therapytoolkit.org/wp-content/plugins/woocommerce/assets/client/admin/data/index.js?ver=e80c789b2e79ff495cb0:2:157503](https://therapytoolkit.org/wp-content/plugins/woocommerce/assets/client/admin/data/index.js?ver=e80c789b2e79ff495cb0:2:157503)
   at [https://therapytoolkit.org/wp-content/plugins/woocommerce/assets/client/admin/data/index.js?ver=e80c789b2e79ff495cb0:2:154316](https://therapytoolkit.org/wp-content/plugins/woocommerce/assets/client/admin/data/index.js?ver=e80c789b2e79ff495cb0:2:154316)
   at [https://therapytoolkit.org/wp-content/plugins/woocommerce/assets/client/admin/data/index.js?ver=e80c789b2e79ff495cb0:2:154316](https://therapytoolkit.org/wp-content/plugins/woocommerce/assets/client/admin/data/index.js?ver=e80c789b2e79ff495cb0:2:154316)
   at [https://therapytoolkit.org/wp-content/plugins/woocommerce/assets/client/admin/data/index.js?ver=e80c789b2e79ff495cb0:2:155541](https://therapytoolkit.org/wp-content/plugins/woocommerce/assets/client/admin/data/index.js?ver=e80c789b2e79ff495cb0:2:155541)
   at zn ([https://therapytoolkit.org/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=64467b9fe6bfde7d9061:2:227663](https://therapytoolkit.org/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=64467b9fe6bfde7d9061:2:227663))

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

 *  [Jonayed (woo-hc)](https://wordpress.org/support/users/jonayedhosen/)
 * (@jonayedhosen)
 * [11 months, 3 weeks ago](https://wordpress.org/support/topic/error-during-setup-5/#post-18520152)
 * Hi [@dgadoury](https://wordpress.org/support/users/dgadoury/) ,
 * Thanks for reaching out!
 * I’m really sorry to hear you’re running into that known issue with the setup 
   wizard—specifically the JavaScript error where `.filter` is being called on an
   undefined variable. That can definitely be frustrating.
 * Looking at this related GitHub report: [https://github.com/woocommerce/woocommerce/issues/51737](https://github.com/woocommerce/woocommerce/issues/51737),
   It seems like a few users ran into similar issues, and in some cases, it was 
   caused by a custom function in the `functions.php` file or something in the active
   theme. Others were able to fix it simply by doing a hard browser refresh using**
   Shift + Refresh**.
 * However, It’s also a good idea to run a full conflict test to rule out any plugin
   or theme conflicts. You can follow the steps in this guide to do that: [https://woocommerce.com/document/how-to-test-for-conflicts/](https://woocommerce.com/document/how-to-test-for-conflicts/)
 * Let us know how it goes—or if the issue sticks around. We’re here to help!
 *  [LovingBro (woo-hc)](https://wordpress.org/support/users/lovingbro/)
 * (@lovingbro)
 * [11 months, 2 weeks ago](https://wordpress.org/support/topic/error-during-setup-5/#post-18533238)
 * Hi there,
 * As there’s been no follow-up, I’ll consider this resolved for the time being.
   We’re happy to jump back in if anything comes up!
 * If WooCommerce has been useful for your store and you appreciate the support 
   you have received, we’d truly appreciate it if you could leave us a quick 5-star
   review here: [https://wordpress.org/support/plugin/woocommerce/reviews/#new-post](https://wordpress.org/support/plugin/woocommerce/reviews/#new-post)

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

The topic ‘Error During Setup’ 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: [LovingBro (woo-hc)](https://wordpress.org/support/users/lovingbro/)
 * Last activity: [11 months, 2 weeks ago](https://wordpress.org/support/topic/error-during-setup-5/#post-18533238)
 * Status: resolved