Skip to content

Instantly share code, notes, and snippets.

@styledev
Created August 29, 2018 19:20
Show Gist options
  • Save styledev/c957fe8f56eca939ff88f7458d2ff409 to your computer and use it in GitHub Desktop.
Save styledev/c957fe8f56eca939ff88f7458d2ff409 to your computer and use it in GitHub Desktop.
Strict Mode Gutenberg Publish Issue Error Messages
jquery-migrate.js?ver=1.4.1:23 JQMIGRATE: Migrate is installed with logging active, version 1.4.1
react-dom.24169eaf.js:526 Warning: Unsafe lifecycle methods were found within a strict-mode tree:
in Unknown (created by e)
in e (created by RemountOnPropChange(e))
in RemountOnPropChange(e)
in WithSelect(Component)
componentWillReceiveProps: Please update the following components to use static getDerivedStateFromProps instead: t
componentWillUpdate: Please update the following components to use componentDidUpdate instead: t
Learn more about this warning here:
https://fb.me/react-strict-mode-warnings
printWarning @ react-dom.24169eaf.js:526
warning @ react-dom.24169eaf.js:550
(anonymous) @ react-dom.24169eaf.js:10659
ReactStrictModeWarnings.flushPendingUnsafeLifecycleWarnings @ react-dom.24169eaf.js:10636
commitAllLifeCycles @ react-dom.24169eaf.js:16024
callCallback @ react-dom.24169eaf.js:140
invokeGuardedCallbackDev @ react-dom.24169eaf.js:178
invokeGuardedCallback @ react-dom.24169eaf.js:227
commitRoot @ react-dom.24169eaf.js:16181
completeRoot @ react-dom.24169eaf.js:17196
performWorkOnRoot @ react-dom.24169eaf.js:17141
performWork @ react-dom.24169eaf.js:17060
performSyncWork @ react-dom.24169eaf.js:17032
requestWork @ react-dom.24169eaf.js:16932
scheduleWork$1 @ react-dom.24169eaf.js:16796
enqueueSetState @ react-dom.24169eaf.js:11877
Component.setState @ react.832d746b.js:524
(anonymous) @ index.js?ver=1535411604:1
(anonymous) @ index.js?ver=1535411604:1
(anonymous) @ index.js?ver=1535411604:1
d @ index.js?ver=1535411604:1
(anonymous) @ index.js?ver=1535411604:1
w @ index.js?ver=1535411604:1
(anonymous) @ index.js?ver=1535411604:1
t.(anonymous function) @ index.js?ver=1535411604:1
o @ index.js?ver=1535411604:1
c @ index.js?ver=1535411604:1
Promise.then (async)
o @ index.js?ver=1535411604:1
c @ index.js?ver=1535411604:1
Promise.then (async)
o @ index.js?ver=1535411604:1
c @ index.js?ver=1535411604:1
Promise.then (async)
o @ index.js?ver=1535411604:1
c @ index.js?ver=1535411604:1
Promise.then (async)
o @ index.js?ver=1535411604:1
c @ index.js?ver=1535411604:1
(anonymous) @ index.js?ver=1535411604:1
n @ index.js?ver=1535411604:1
(anonymous) @ index.js?ver=1535411604:1
p @ index.js?ver=1535411604:1
f @ index.js?ver=1535411604:1
(anonymous) @ index.js?ver=1535411604:1
(anonymous) @ index.js?ver=1535411604:12
r @ index.js?ver=1535411604:1
e @ index.js?ver=1535411604:1
constructClassInstance @ react-dom.24169eaf.js:12025
updateClassComponent @ react-dom.24169eaf.js:13722
beginWork @ react-dom.24169eaf.js:14402
performUnitOfWork @ react-dom.24169eaf.js:16441
workLoop @ react-dom.24169eaf.js:16480
renderRoot @ react-dom.24169eaf.js:16520
performWorkOnRoot @ react-dom.24169eaf.js:17138
performWork @ react-dom.24169eaf.js:17060
performSyncWork @ react-dom.24169eaf.js:17032
requestWork @ react-dom.24169eaf.js:16932
scheduleWork$1 @ react-dom.24169eaf.js:16796
scheduleRootUpdate @ react-dom.24169eaf.js:17363
updateContainerAtExpirationTime @ react-dom.24169eaf.js:17390
updateContainer @ react-dom.24169eaf.js:17417
ReactRoot.render @ react-dom.24169eaf.js:17700
(anonymous) @ react-dom.24169eaf.js:17840
unbatchedUpdates @ react-dom.24169eaf.js:17257
legacyRenderSubtreeIntoContainer @ react-dom.24169eaf.js:17836
render @ react-dom.24169eaf.js:17895
Dn @ index.js?ver=1535411604:12
(anonymous) @ post.php?post=19&action=edit:1720
index.js?ver=1535411604:12 Uncaught TypeError: Cannot read property 'rest_base' of undefined
at index.js?ver=1535411604:12
at r (index.js?ver=1535411604:1)
at new e (index.js?ver=1535411604:1)
at constructClassInstance (react-dom.24169eaf.js:12021)
at updateClassComponent (react-dom.24169eaf.js:13722)
at beginWork (react-dom.24169eaf.js:14402)
at performUnitOfWork (react-dom.24169eaf.js:16441)
at workLoop (react-dom.24169eaf.js:16480)
at HTMLUnknownElement.callCallback (react-dom.24169eaf.js:140)
at Object.invokeGuardedCallbackDev (react-dom.24169eaf.js:178)
(anonymous) @ index.js?ver=1535411604:12
r @ index.js?ver=1535411604:1
e @ index.js?ver=1535411604:1
constructClassInstance @ react-dom.24169eaf.js:12021
updateClassComponent @ react-dom.24169eaf.js:13722
beginWork @ react-dom.24169eaf.js:14402
performUnitOfWork @ react-dom.24169eaf.js:16441
workLoop @ react-dom.24169eaf.js:16480
callCallback @ react-dom.24169eaf.js:140
invokeGuardedCallbackDev @ react-dom.24169eaf.js:178
invokeGuardedCallback @ react-dom.24169eaf.js:227
replayUnitOfWork @ react-dom.24169eaf.js:15888
renderRoot @ react-dom.24169eaf.js:16540
performWorkOnRoot @ react-dom.24169eaf.js:17138
performWork @ react-dom.24169eaf.js:17060
performSyncWork @ react-dom.24169eaf.js:17032
interactiveUpdates$1 @ react-dom.24169eaf.js:17297
interactiveUpdates @ react-dom.24169eaf.js:2326
dispatchInteractiveEvent @ react-dom.24169eaf.js:4882
react-dom.24169eaf.js:14804 The above error occurred in the <e> component:
in e (created by RemountOnPropChange(e))
in RemountOnPropChange(e)
in WithSelect(IfCondition(t))
in div
in Unknown (created by e)
in e (created by RemountOnPropChange(e))
in RemountOnPropChange(e)
in WithSelect(Component) (created by t)
in div (created by t)
in div (created by t)
in t (created by e)
in e (created by RemountOnPropChange(e))
in RemountOnPropChange(e)
in WithSelect(t)
in div
in Unknown (created by e)
in e (created by RemountOnPropChange(e))
in RemountOnPropChange(e)
in WithViewportMatch(Component) (created by NavigateRegions(WithViewportMatch(Component)))
in div (created by NavigateRegions(WithViewportMatch(Component)))
in NavigateRegions(WithViewportMatch(Component)) (created by r)
in r (created by RemountOnPropChange(r))
in RemountOnPropChange(r)
in Unknown (created by WithDispatch(NavigateRegions(WithViewportMatch(Component))))
in WithDispatch(NavigateRegions(WithViewportMatch(Component))) (created by e)
in e (created by RemountOnPropChange(e))
in RemountOnPropChange(e)
in WithSelect(WithDispatch(NavigateRegions(WithViewportMatch(Component))))
in t
in t (created by t)
in t (created by t)
in t (created by t)
in t (created by t)
in t (created by r)
in r (created by RemountOnPropChange(r))
in RemountOnPropChange(r)
in Unknown (created by WithDispatch(t))
in WithDispatch(t)
in Unknown (created by e)
in e (created by RemountOnPropChange(e))
in RemountOnPropChange(e)
in WithSelect(Component)
React will try to recreate this component tree from scratch using the error boundary you provided, t.
logCapturedError @ react-dom.24169eaf.js:14804
logError @ react-dom.24169eaf.js:14843
callback @ react-dom.24169eaf.js:15525
callCallback @ react-dom.24169eaf.js:11456
commitUpdateQueue @ react-dom.24169eaf.js:11500
commitLifeCycles @ react-dom.24169eaf.js:14955
commitAllLifeCycles @ react-dom.24169eaf.js:16040
callCallback @ react-dom.24169eaf.js:140
invokeGuardedCallbackDev @ react-dom.24169eaf.js:178
invokeGuardedCallback @ react-dom.24169eaf.js:227
commitRoot @ react-dom.24169eaf.js:16181
completeRoot @ react-dom.24169eaf.js:17196
performWorkOnRoot @ react-dom.24169eaf.js:17141
performWork @ react-dom.24169eaf.js:17060
performSyncWork @ react-dom.24169eaf.js:17032
interactiveUpdates$1 @ react-dom.24169eaf.js:17297
interactiveUpdates @ react-dom.24169eaf.js:2326
dispatchInteractiveEvent @ react-dom.24169eaf.js:4882
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment