Skip to content

Instantly share code, notes, and snippets.

@razwan
Created October 4, 2019 09:58
Show Gist options
  • Save razwan/cbaf4b99394b0f416f60c3445e9023a3 to your computer and use it in GitHub Desktop.
Save razwan/cbaf4b99394b0f416f60c3445e9023a3 to your computer and use it in GitHub Desktop.
index.js?ver=2e2b78de4a8a9e8f1ec023c58f617ba6:17 Uncaught TypeError: Cannot read property 'my_block_meta' of undefined
    at index.js?ver=2e2b78de4a8a9e8f1ec023c58f617ba6:17
    at Array.reduce (<anonymous>)
    at index.js?ver=2e2b78de4a8a9e8f1ec023c58f617ba6:17
    at mountMemo (react-dom.8b3dda97.js:15807)
    at Object.useMemo (react-dom.8b3dda97.js:16029)
    at useMemo (react.eef5f5a3.js:1680)
    at index.js?ver=2e2b78de4a8a9e8f1ec023c58f617ba6:17
    at WithMetaAttributeSource((Component)) (index.js?ver=2e2b78de4a8a9e8f1ec023c58f617ba6:17)
    at renderWithHooks (react-dom.8b3dda97.js:15246)
    at mountIndeterminateComponent (react-dom.8b3dda97.js:17480)
(anonymous) @ index.js?ver=2e2b78de4a8a9e8f1ec023c58f617ba6:17
(anonymous) @ index.js?ver=2e2b78de4a8a9e8f1ec023c58f617ba6:17
mountMemo @ react-dom.8b3dda97.js:15807
useMemo @ react-dom.8b3dda97.js:16029
useMemo @ react.eef5f5a3.js:1680
(anonymous) @ index.js?ver=2e2b78de4a8a9e8f1ec023c58f617ba6:17
WithMetaAttributeSource((Component)) @ index.js?ver=2e2b78de4a8a9e8f1ec023c58f617ba6:17
renderWithHooks @ react-dom.8b3dda97.js:15246
mountIndeterminateComponent @ react-dom.8b3dda97.js:17480
beginWork$1 @ react-dom.8b3dda97.js:18624
callCallback @ react-dom.8b3dda97.js:341
invokeGuardedCallbackDev @ react-dom.8b3dda97.js:391
invokeGuardedCallback @ react-dom.8b3dda97.js:448
beginWork$$1 @ react-dom.8b3dda97.js:23355
performUnitOfWork @ react-dom.8b3dda97.js:22349
workLoopSync @ react-dom.8b3dda97.js:22323
renderRoot @ react-dom.8b3dda97.js:22016
runRootCallback @ react-dom.8b3dda97.js:21692
(anonymous) @ react-dom.8b3dda97.js:11491
unstable_runWithPriority @ react.eef5f5a3.js:2820
runWithPriority$2 @ react-dom.8b3dda97.js:11443
flushSyncCallbackQueueImpl @ react-dom.8b3dda97.js:11487
flushSyncCallbackQueue @ react-dom.8b3dda97.js:11476
discreteUpdates$1 @ react-dom.8b3dda97.js:21815
discreteUpdates @ react-dom.8b3dda97.js:2357
dispatchDiscreteEvent @ react-dom.8b3dda97.js:6104
react-dom.8b3dda97.js:19952 The above error occurred in the <WithMetaAttributeSource((Component))> component:
    in WithMetaAttributeSource((Component)) (created by WithFilters(Component))
    in WithFilters(Component) (created by IfCondition(WithFilters(Component)))
    in IfCondition(WithFilters(Component)) (created by WithDispatch(IfCondition(WithFilters(Component))))
    in WithDispatch(IfCondition(WithFilters(Component)))
    in Unknown (created by WithSelect(WithDispatch(IfCondition(WithFilters(Component)))))
    in WithSelect(WithDispatch(IfCondition(WithFilters(Component))))
    in Unknown (created by Pure(WithViewportMatch(WithSelect(WithDispatch(IfCondition(WithFilters(Component)))))))
    in Pure(WithViewportMatch(WithSelect(WithDispatch(IfCondition(WithFilters(Component)))))) (created by t)
    in Br (created by t)
    in div (created by t)
    in t (created by WithDispatch(t))
    in WithDispatch(t)
    in Unknown (created by WithSelect(WithDispatch(t)))
    in WithSelect(WithDispatch(t))
    in Unknown (created by yt)
    in div
    in Unknown (created by WithDispatch(Component))
    in WithDispatch(Component) (created by yt)
    in div (created by t)
    in t (created by WithSafeTimeout(t))
    in WithSafeTimeout(t) (created by WithDispatch(WithSafeTimeout(t)))
    in WithDispatch(WithSafeTimeout(t))
    in Unknown (created by WithSelect(WithDispatch(WithSafeTimeout(t))))
    in WithSelect(WithDispatch(WithSafeTimeout(t))) (created by yt)
    in div (created by t)
    in div (created by t)
    in t (created by WithDispatch(t))
    in WithDispatch(t)
    in Unknown (created by WithSelect(WithDispatch(t)))
    in WithSelect(WithDispatch(t)) (created by yt)
    in div (created by t)
    in t
    in Unknown (created by WithSelect(t))
    in WithSelect(t) (created by yt)
    in div (created by t)
    in t (created by WithDispatch(t))
    in WithDispatch(t)
    in Unknown (created by WithSelect(WithDispatch(t)))
    in WithSelect(WithDispatch(t)) (created by yt)
    in yt
    in div
    in div (created by t)
    in t
    in Unknown
    in Unknown (created by WithViewportMatch(Component))
    in WithViewportMatch(Component) (created by NavigateRegions(WithViewportMatch(Component)))
    in div (created by NavigateRegions(WithViewportMatch(Component)))
    in NavigateRegions(WithViewportMatch(Component)) (created by WithDispatch(NavigateRegions(WithViewportMatch(Component))))
    in WithDispatch(NavigateRegions(WithViewportMatch(Component)))
    in Unknown (created by WithSelect(WithDispatch(NavigateRegions(WithViewportMatch(Component)))))
    in WithSelect(WithDispatch(NavigateRegions(WithViewportMatch(Component)))) (created by t)
    in t (created by t)
    in t (created by WithDispatch(t))
    in WithDispatch(t)
    in Unknown (created by Context.Consumer)
    in WithRegistryProvider(WithDispatch(t)) (created by t)
    in ht (created by t)
    in t (created by WithDispatch(t))
    in WithDispatch(t)
    in Unknown (created by WithSelect(WithDispatch(t)))
    in WithSelect(WithDispatch(t))
    in Unknown (created by Context.Consumer)
    in WithRegistryProvider(WithSelect(WithDispatch(t))) (created by t)
    in div (created by t)
    in t (created by t)
    in t (created by t)
    in StrictMode (created by t)
    in t (created by WithDispatch(t))
    in WithDispatch(t)
    in Unknown (created by WithSelect(WithDispatch(t)))
    in WithSelect(WithDispatch(t))

React will try to recreate this component tree from scratch using the error boundary you provided, t.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment