Fatal Error:Cannot read properties of undefined(reading ‘filter’)
-
Hello everyone,
I am experiencing a fatal UI error that completely blocks the Transactions / Payments screen in WooPayments, showing the message “Oops, something went wrong… error retrieving account tags / disputes”.
The website went through a period of being outdated with plugin incompatibilities, but everything is currently updated to the latest versions. The error occurs on version 10.8.0 and persists even after downgrading to 10.7.1. Interestingly, the plugin’s Settings page works perfectly fine; the crash only occurs when attempting to load the transaction list/dashboard.
Steps already taken that did not resolve the issue:
- Disabled the multi-currency option (to rule out currency mapping conflicts).
- Forced a full re-import of historical data under Analytics > Settings (completed successfully, 0 errors).
- Cleared WooCommerce analytics cache, updated the database, and verified core DB tables via WooCommerce > Status > Tools.
- Cleared the server Varnish cache (Hosting: Webempresa) and tested using a clean incognito window.
- Ran the hosting provider’s automated security diagnostic tool (Stephan) to ensure there are no ModSecurity or firewall IP blocks blocking external API requests.
Upon loading the page, quick toast notifications appear stating an error retrieving disputes/tags, and immediately after, the screen crashes with the following console trace:
TypeError: Cannot read properties of undefined (reading 'filter')
at pf (https://productosjessica.es/wp-content/plugins/woocommerce-payments/dist/index.js?ver=10.7.1:2:607792)
at Suspense
at Oe (https://productosjessica.es/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=b1c24d63aa250816182c:2:185538)
at div
at div
at me (https://productosjessica.es/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=b1c24d63aa250816182c:2:179884)
at div
at Rac (https://productosjessica.es/wp-includes/js/dist/components.min.js?ver=5dedfe13f08880193a28:9:124282)
at FC (https://productosjessica.es/wp-includes/js/dist/components.min.js?ver=5dedfe13f08880193a28:9:125036)
at w (https://productosjessica.es/wp-content/plugins/woocommerce/assets/client/admin/admin-layout/index.js?ver=70ee5a6ed50d37f62db2:1:1981)Here is the latest
woocommerce-paymentsAPI log trace requested:2026-06-22T10:12:14+00:00 API REQUEST: GET https://public-api.wordpress.com/wpcom/v2/sites/%s/wcpay/disputes?test_mode=0&page=1&pagesize=50&sort=created&direction=desc&limit=100&search%5B0%5D=needs_response&search%5B1%5D=warning_needs_response
2026-06-22T10:12:14+00:00 API REQUEST: GET https://public-api.wordpress.com/wpcom/v2/sites/%s/wcpay/deposits/overview-all?test_mode=0
2026-06-22T10:12:14+00:00 API RESPONSE: GET https://public-api.wordpress.com/wpcom/v2/sites/%s/wcpay/disputes?…
2026-06-22T10:12:15+00:00 API REQUEST: GET https://public-api.wordpress.com/wpcom/v2/sites/%s/wcpay/deposits?test_mode=0&page=1&pagesize=3&sort=date&direction=desc&limit=100&store_currency_is=eur
2026-06-22T10:12:15+00:00 API RESPONSE: GET https://public-api.wordpress.com/wpcom/v2/sites/%s/wcpay/deposits/overview-all?test_mode=0
2026-06-22T10:12:16+00:00 API RESPONSE: GET https://public-api.wordpress.com/wpcom/v2/sites/%s/wcpay/deposits?…Current Active Version during this log: 10.8.1
It seems the React component expects an array from the API response (account tags, features, or disputes) but receives
undefinedinstead, causing the.filter()method to break. This is likely due to stale data/transients left over from the incompatibility period or a synchronization desync with the central WooPayments server.Is there a way to completely flush the connection tokens/account cache or safely reset the integration data from the database to force a clean re-fetch of these tags?
Any guidance would be highly appreciated.
Thank you!
AnaThe page I need help with: [log in to see the link]
You must be logged in to reply to this topic.