can’t access property “replace”, t is undefined
-
Hello,
I am having an issue on my site when accessing Woocommerce -> analytics. The error is: “TypeError: can’t access property “replace”, t is undefined”. I’ve seen other posts related to this error such as: https://ww.wp.xz.cn/support/topic/typeerror-cannot-read-properties-of-undefined-reading-replace-2/
I have two separated environments
Two separate environments were used during troubleshooting to isolate the issue:- Affected Environment : WordPress 6.9.4 | WooCommerce 9.X.X
- Functioning Environment : WordPress 6.9.4 | WooCommerce 10.X.X (Compatibility Prep branch)
Accessing the WooCommerce Analytics dashboard (specifically the Revenue and Orders tabs) results in a blank UI rendering failure (the aforementioned error).
- The Products tab does not crash the page but displays an empty table.
- The browser console registers a fatal React/JavaScript error originating from the WordPress core
i18n.jslibrary.
Here is a trace of the console error:
Uncaught TypeError: can't access property "replace", string is undefined
sprintf https://XXXXXXXXXXXX/wp-includes/js/dist/i18n.js?ver=6b3ae5bd3b8d9598492d:172
sprintf_sprintf https://XXXXXXXXXXXX/wp-includes/js/dist/i18n.js?ver=6b3ae5bd3b8d9598492d:246
render https://XXXXXXXXXXXX/wp-content/plugins/woocommerce/assets/client/admin/components/index.js?ver=1772485195:2
finishClassComponent https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:19791
updateClassComponent https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:19737
beginWork https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:21660
callCallback https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:4151
invokeGuardedCallbackDev https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:4200
invokeGuardedCallback https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:4264
beginWork$1 https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:27500
performUnitOfWork https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:26606
workLoopConcurrent https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:26592
renderRootConcurrent https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:26554
performConcurrentWorkOnRoot https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:25787
workLoop https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react.js?ver=18.3.1.1:2653
flushWork https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react.js?ver=18.3.1.1:2626
performWorkUntilDeadline https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react.js?ver=18.3.1.1:2920
EventHandlerNonNull* https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react.js?ver=18.3.1.1:2958
<anonymous> https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react.js?ver=18.3.1.1:13
<anonymous> https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react.js?ver=18.3.1.1:14
2 i18n.js:172:2
Uncaught TypeError: can't access property "replace", string is undefined
sprintf https://XXXXXXXXXXXX/wp-includes/js/dist/i18n.js?ver=6b3ae5bd3b8d9598492d:172
sprintf_sprintf https://XXXXXXXXXXXX/wp-includes/js/dist/i18n.js?ver=6b3ae5bd3b8d9598492d:246
render https://XXXXXXXXXXXX/wp-content/plugins/woocommerce/assets/client/admin/components/index.js?ver=1772485195:2
finishClassComponent https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:19791
updateClassComponent https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:19737
beginWork https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:21660
callCallback https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:4151
invokeGuardedCallbackDev https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:4200
invokeGuardedCallback https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:4264
beginWork$1 https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:27500
performUnitOfWork https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:26606
workLoopSync https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:26515
renderRootSync https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:26483
performSyncWorkOnRoot https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:26134
flushSyncCallbacks https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:12052
ensureRootIsScheduled https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:25700
ensureRootIsScheduled https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:25692
scheduleUpdateOnFiber https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:25580
forceStoreRerender https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:16168
handleStoreChange https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:16144
onStoreChange https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2769
onChange https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2775
unsubscribeFromStore https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2374
instantiate https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:1979
dispatch https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:767
dispatch https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:766
createThunkMiddleware https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:1138
createMiddleware Redux
promiseMiddleware https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:1100
createResolversCacheMiddleware https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:1127
fulfillSelector https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2146
fulfillSelector https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2136
selectorResolver https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2158
pE https://XXXXXXXXXXXX/wp-content/plugins/woocommerce/assets/client/admin/data/index.js?ver=1772485195:2
h https://XXXXXXXXXXXX/wp-content/plugins/woocommerce/assets/client/admin/chunks/2304.js?ver=aab454e2a264e44181e7:1
mapSelect https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2892
mapResult https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2814
__unstableMarkListeningStores https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2303
withPlugins https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2344
updateValue https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2813
Store https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2848
_useMappingSelect https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2864
useSelect https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2879
withSelect https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2893
renderWithHooks https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:15496
mountIndeterminateComponent https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:20113
beginWork https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:21636
beginWork$1 https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:27475
performUnitOfWork https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:26606
workLoopConcurrent https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:26592
renderRootConcurrent https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:26554
performConcurrentWorkOnRoot https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:25787
workLoop https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react.js?ver=18.3.1.1:2653
flushWork https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react.js?ver=18.3.1.1:2626
performWorkUntilDeadline https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react.js?ver=18.3.1.1:2920
EventHandlerNonNull* https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react.js?ver=18.3.1.1:2958
<anonymous> https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react.js?ver=18.3.1.1:13
<anonymous> https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react.js?ver=18.3.1.1:14
i18n.js:172:2
sprintf https://XXXXXXXXXXXX/wp-includes/js/dist/i18n.js?ver=6b3ae5bd3b8d9598492d:172
sprintf_sprintf https://XXXXXXXXXXXX/wp-includes/js/dist/i18n.js?ver=6b3ae5bd3b8d9598492d:246
render https://XXXXXXXXXXXX/wp-content/plugins/woocommerce/assets/client/admin/components/index.js?ver=1772485195:2
finishClassComponent https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:19791
updateClassComponent https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:19737
beginWork https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:21660
callCallback https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:4151
invokeGuardedCallbackDev https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:4200
invokeGuardedCallback https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:4264
beginWork$1 https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:27500
performUnitOfWork https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:26606
workLoopSync https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:26515
renderRootSync https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:26483
performSyncWorkOnRoot https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:26134
flushSyncCallbacks https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:12052
ensureRootIsScheduled https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:25700
(Async: VoidFunction)
ensureRootIsScheduled https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:25692
scheduleUpdateOnFiber https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:25580
forceStoreRerender https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:16168
handleStoreChange https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:16144
onStoreChange https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2769
onChange https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2775
unsubscribeFromStore https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2374
instantiate https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:1979
dispatch https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:767
forEach self-hosted:2191
dispatch https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:766
createThunkMiddleware https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:1138
createMiddleware Redux
promiseMiddleware https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:1100
createResolversCacheMiddleware https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:1127
fulfillSelector https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2146
InterpretGeneratorResume self-hosted:1312
AsyncFunctionNext self-hosted:780
(Async: async)
fulfillSelector https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2136
selectorResolver https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2158
pE https://XXXXXXXXXXXX/wp-content/plugins/woocommerce/assets/client/admin/data/index.js?ver=1772485195:2
h https://XXXXXXXXXXXX/wp-content/plugins/woocommerce/assets/client/admin/chunks/2304.js?ver=aab454e2a264e44181e7:1
mapSelect https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2892
mapResult https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2814
__unstableMarkListeningStores https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2303
withPlugins https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2344
updateValue https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2813
Store https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2848
_useMappingSelect https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2864
useSelect https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2879
withSelect https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2893
renderWithHooks https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:15496
mountIndeterminateComponent https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:20113
beginWork https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:21636
beginWork$1 https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:27475
performUnitOfWork https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:26606
workLoopConcurrent https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:26592
renderRootConcurrent https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:26554
performConcurrentWorkOnRoot https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:25787
workLoop https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react.js?ver=18.3.1.1:2653
flushWork https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react.js?ver=18.3.1.1:2626
performWorkUntilDeadline https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react.js?ver=18.3.1.1:2920
(Async: EventHandlerNonNull)
<anonymous> https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react.js?ver=18.3.1.1:2958
<anonymous> https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react.js?ver=18.3.1.1:13
<anonymous> https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react.js?ver=18.3.1.1:14
Uncaught TypeError: can't access property "replace", string is undefined
sprintf https://XXXXXXXXXXXX/wp-includes/js/dist/i18n.js?ver=6b3ae5bd3b8d9598492d:172
sprintf_sprintf https://XXXXXXXXXXXX/wp-includes/js/dist/i18n.js?ver=6b3ae5bd3b8d9598492d:246
render https://XXXXXXXXXXXX/wp-content/plugins/woocommerce/assets/client/admin/components/index.js?ver=1772485195:2
finishClassComponent https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:19791
updateClassComponent https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:19737
beginWork https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:21660
callCallback https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:4151
invokeGuardedCallbackDev https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:4200
invokeGuardedCallback https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:4264
beginWork$1 https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:27500
performUnitOfWork https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:26606
workLoopSync https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:26515
renderRootSync https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:26483
recoverFromConcurrentError https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:25899
performSyncWorkOnRoot https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:26145
flushSyncCallbacks https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:12052
ensureRootIsScheduled https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:25700
ensureRootIsScheduled https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:25692
scheduleUpdateOnFiber https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:25580
forceStoreRerender https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:16168
handleStoreChange https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:16144
onStoreChange https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2769
onChange https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2775
unsubscribeFromStore https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2374
instantiate https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:1979
dispatch https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:767
dispatch https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:766
createThunkMiddleware https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:1138
createMiddleware Redux
promiseMiddleware https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:1100
createResolversCacheMiddleware https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:1127
fulfillSelector https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2146
fulfillSelector https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2136
selectorResolver https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2158
pE https://XXXXXXXXXXXX/wp-content/plugins/woocommerce/assets/client/admin/data/index.js?ver=1772485195:2
h https://XXXXXXXXXXXX/wp-content/plugins/woocommerce/assets/client/admin/chunks/2304.js?ver=aab454e2a264e44181e7:1
mapSelect https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2892
mapResult https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2814
__unstableMarkListeningStores https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2303
withPlugins https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2344
updateValue https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2813
Store https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2848
_useMappingSelect https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2864
useSelect https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2879
withSelect https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2893
renderWithHooks https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:15496
mountIndeterminateComponent https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:20113
beginWork https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:21636
beginWork$1 https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:27475
performUnitOfWork https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:26606
workLoopConcurrent https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:26592
renderRootConcurrent https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:26554
performConcurrentWorkOnRoot https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:25787
workLoop https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react.js?ver=18.3.1.1:2653
flushWork https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react.js?ver=18.3.1.1:2626
performWorkUntilDeadline https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react.js?ver=18.3.1.1:2920
EventHandlerNonNull* https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react.js?ver=18.3.1.1:2958
<anonymous> https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react.js?ver=18.3.1.1:13
<anonymous> https://XXXXXXXXXXXX/wp-includes/js/dist/vendor/react.js?ver=18.3.1.1:14
i18n.js:172:2
The above error occurred in the <gl> component:
gl@https://XXXXXXXXXXXX/wp-content/plugins/woocommerce/assets/client/admin/components/index.js?ver=1772485195:2:606741
withViewportMatch/</<@https://XXXXXXXXXXXX/wp-includes/js/dist/viewport.js?ver=a67acba4cc142a907c6d:161:29
@https://XXXXXXXXXXXX/wp-includes/js/dist/compose.js?ver=7c895b31cd7a903b5229:2886:10
g@https://XXXXXXXXXXXX/wp-content/plugins/woocommerce/assets/client/admin/chunks/2304.js?ver=aab454e2a264e44181e7:1:756
withSelect/</<@https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2893:33
@https://XXXXXXXXXXXX/wp-includes/js/dist/compose.js?ver=7c895b31cd7a903b5229:2886:10
div
withEmotionCache/<@https://XXXXXXXXXXXX/wp-includes/js/dist/components.js?ver=316cf67f025fcb3e30cc:14473:47
UnforwardedView@https://XXXXXXXXXXXX/wp-includes/js/dist/components.js?ver=316cf67f025fcb3e30cc:15206:25
UnconnectedCardBody@https://XXXXXXXXXXXX/wp-includes/js/dist/components.js?ver=316cf67f025fcb3e30cc:41327:18
div
withEmotionCache/<@https://XXXXXXXXXXXX/wp-includes/js/dist/components.js?ver=316cf67f025fcb3e30cc:14473:47
UnforwardedView@https://XXXXXXXXXXXX/wp-includes/js/dist/components.js?ver=316cf67f025fcb3e30cc:15206:25
div
withEmotionCache/<@https://XXXXXXXXXXXX/wp-includes/js/dist/components.js?ver=316cf67f025fcb3e30cc:14473:47
UnforwardedView@https://XXXXXXXXXXXX/wp-includes/js/dist/components.js?ver=316cf67f025fcb3e30cc:15206:25
BaseContextSystemProvider@https://XXXXXXXXXXXX/wp-includes/js/dist/components.js?ver=316cf67f025fcb3e30cc:11926:35
UnconnectedCard@https://XXXXXXXXXXXX/wp-includes/js/dist/components.js?ver=316cf67f025fcb3e30cc:41175:14
div
y@https://XXXXXXXXXXXX/wp-content/plugins/woocommerce/assets/client/admin/chunks/dashboard-charts.js?ver=f7c18218b38080c1aee8:1:12246
div
div
E@https://XXXXXXXXXXXX/wp-content/plugins/woocommerce/assets/client/admin/chunks/dashboard-charts.js?ver=f7c18218b38080c1aee8:1:16091
Suspense
component
div
T@https://XXXXXXXXXXXX/wp-content/plugins/woocommerce/assets/client/admin/chunks/customizable-dashboard.js?ver=e1b264b34658249d7dc6:1:6775
53847/z<@https://XXXXXXXXXXXX/wp-content/plugins/woocommerce/assets/client/admin/chunks/customizable-dashboard.js?ver=e1b264b34658249d7dc6:1:7825
withSelect/</<@https://XXXXXXXXXXXX/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:2893:33
@https://XXXXXXXXXXXX/wp-includes/js/dist/compose.js?ver=7c895b31cd7a903b5229:2886:10
Suspense
u@https://XXXXXXXXXXXX/wp-content/plugins/woocommerce/assets/client/admin/chunks/dashboard.js?ver=6c791cb30483931a36c1:1:286
Suspense
Pe@https://XXXXXXXXXXXX/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=1772485195:2:162737
div
div
me@https://XXXXXXXXXXXX/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=1772485195:2:156890
div
SlotFillProvider@https://XXXXXXXXXXXX/wp-includes/js/dist/components.js?ver=316cf67f025fcb3e30cc:33755:26
provider_SlotFillProvider@https://XXXXXXXXXXXX/wp-includes/js/dist/components.js?ver=316cf67f025fcb3e30cc:33828:35
Provider@https://XXXXXXXXXXXX/wp-includes/js/dist/components.js?ver=316cf67f025fcb3e30cc:33877:18
w@https://XXXXXXXXXXXX/wp-content/plugins/woocommerce/assets/client/admin/admin-layout/index.js?ver=1772485195:1:1978
Pn@https://XXXXXXXXXXXX/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=1772485195:2:224097
O@https://XXXXXXXXXXXX/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=1772485195:2:125367
P@https://XXXXXXXXXXXX/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=1772485195:2:124875
a@https://XXXXXXXXXXXX/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=1772485195:2:119332
Dn<@https://XXXXXXXXXXXX/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=1772485195:2:226750
Jd/</<@https://XXXXXXXXXXXX/wp-content/plugins/woocommerce/assets/client/admin/data/index.js?ver=1772485195:2:156426
Zd/</<@https://XXXXXXXXXXXX/wp-content/plugins/woocommerce/assets/client/admin/data/index.js?ver=1772485195:2:157505
Yd/</<@https://XXXXXXXXXXXX/wp-content/plugins/woocommerce/assets/client/admin/data/index.js?ver=1772485195:2:154316
Yd/</<@https://XXXXXXXXXXXX/wp-content/plugins/woocommerce/assets/client/admin/data/index.js?ver=1772485195:2:154316
Wd/</<@https://XXXXXXXXXXXX/wp-content/plugins/woocommerce/assets/client/admin/data/index.js?ver=1772485195:2:155541
zn@https://XXXXXXXXXXXX/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=1772485195:2:227663
React will try to recreate this component tree from scratch using the error boundary you provided, zn. react-dom.js:18714:17Troubleshooting Actions & Results
Phase 1: Standard Conflict Testing- Action: Deactivated all plugins and switched to a default theme.
- Result: Error persists.
- Action: Disabled Redis cache plugin.
- Result: Error persists.
Phase 2: Analytics Data & Cache Reset
- Action: Executed “Clear analytics cache” and “Clear transients” via
WooCommerce > Status > Tools. Performed hard browser refreshes and tested in Incognito mode. - Result: Error persists.
- Action: Navigated to
Analytics > Settings, executed “Delete Previously Imported Data”, and attempted to re-import a small date range. - Result: Data failed to re-import; dashboard remained broken.
Phase 3: Database Integrity Checks
- Action: Queried
wp_wc_order_statsfor malformed/null dates (date_created < '1971-01-01 00:00:00'). - Result: 0 rows returned. No corrupted date entries found. (Note: Initial query using literal
'0000-00-00 00:00:00'returned SQL Error #1525 due to STRICT_TRANS_TABLES). - Action: Queried for orders missing the
_order_currencypostmeta. - Result: Rows were found, but the exact same rows exist in the functioning DEV environment.
- Action: Manually executed
TRUNCATEonwp_wc_order_stats,wp_wc_order_product_lookup,wp_wc_order_tax_lookup, andwp_wc_order_coupon_lookupacross both functional and affected environments. - Result: Affected environment still throws the
t is undefinederror on page load despite empty tables. Functioning environment continues to function normally without requiring a re-import.
Phase 4: Localization & Translation Isolation
- Action: Verified WPML configuration. Deactivated WPML and WPML String Translation entirely.
- Result: Error persists.
- Action: Checked
wp-config.phpforWPLANGdefinition andwp-content/formu-plugins. - Result: Neither exist.
- Action: Changed user profile language from German to English (US) and ran “Update Translations” from the WP dashboard.
- Result: Error persists.
- Action: Verified WooCommerce Currency settings. Re-saved currency options to ensure
wp_optionsvalues were populated. Both affected and functioning environments have the exact same configuration. - Result: Error persists.
The solution provided by @fonderco in the linked post helps us access the page without it crashing, however as that user indicates this is a short term emergency fix, it’s not a long term solution.
- This topic was modified 2 weeks, 3 days ago by . Reason: Accidentally submitted before I had completed it
- This topic was modified 2 weeks, 3 days ago by . Reason: Expanded with useful information
The page I need help with: [log in to see the link]
You must be logged in to reply to this topic.