window.tinymce is not defined
-
Heya,
So, the SEO panel in the post editor doesn’t seem to initialise correctly as of today. And this is the case on both a live site of mine and a local version.
I’ve included the errors from Developer Console below.
I have- Disabled all plugins, except RankMath and ClassicEditor (I also tried ClassicEditor+)
- And Switched to a default theme
- And cleared cache
I also
- Couldn’t find a similar thread in those already here.
The errors below are taken under all three conditions at the same time.
Error 1:
Uncaught TypeError: window.tinymce is undefined value https://localhost/wp-content/plugins/seo-by-rank-math/assets/admin/js/rank-math-app.js?ver=1.0.204:1 commitLayoutEffectOnFiber https://localhost/wp-includes/js/dist/vendor/react-dom.js?ver=18.2.0:23315 commitLayoutMountEffects_complete https://localhost/wp-includes/js/dist/vendor/react-dom.js?ver=18.2.0:24698 commitLayoutEffects_begin https://localhost/wp-includes/js/dist/vendor/react-dom.js?ver=18.2.0:24684 commitLayoutEffects https://localhost/wp-includes/js/dist/vendor/react-dom.js?ver=18.2.0:24622 commitRootImpl https://localhost/wp-includes/js/dist/vendor/react-dom.js?ver=18.2.0:26833 commitRoot https://localhost/wp-includes/js/dist/vendor/react-dom.js?ver=18.2.0:26692 performSyncWorkOnRoot https://localhost/wp-includes/js/dist/vendor/react-dom.js?ver=18.2.0:26127 flushSyncCallbacks https://localhost/wp-includes/js/dist/vendor/react-dom.js?ver=18.2.0:12052 flushSync https://localhost/wp-includes/js/dist/vendor/react-dom.js?ver=18.2.0:26211 legacyCreateRootFromDOMContainer https://localhost/wp-includes/js/dist/vendor/react-dom.js?ver=18.2.0:29585 legacyRenderSubtreeIntoContainer https://localhost/wp-includes/js/dist/vendor/react-dom.js?ver=18.2.0:29611 render https://localhost/wp-includes/js/dist/vendor/react-dom.js?ver=18.2.0:29695 value https://localhost/wp-content/plugins/seo-by-rank-math/assets/admin/js/classic.js?ver=1.0.204:1 setTimeout handler*value https://localhost/wp-content/plugins/seo-by-rank-math/assets/admin/js/classic.js?ver=1.0.204:1 runHooks https://localhost/wp-includes/js/dist/hooks.js?ver=cb3553927d7ab6049113:395 <anonymous> https://localhost/wp-content/plugins/seo-by-rank-math/assets/admin/js/classic.js?ver=1.0.204:1 jQuery 28 <anonymous> https://localhost/wp-content/plugins/seo-by-rank-math/assets/admin/js/classic.js?ver=1.0.204:1 jQuery 10 <anonymous> https://localhost/wp-content/plugins/seo-by-rank-math/assets/admin/js/classic.js?ver=1.0.204:1 <anonymous> https://localhost/wp-content/plugins/seo-by-rank-math/assets/admin/js/classic.js?ver=1.0.204:1 rank-math-app.js:1:132498
Error 2:
The above error occurred in the <s> component: s@https://localhost/wp-content/plugins/seo-by-rank-math/assets/admin/js/rank-math-app.js?ver=1.0.204:1:132335 withDispatch/</<@https://localhost/wp-includes/js/dist/data.js?ver=7fe70ce69d4580ea6b07:4286:46 withSelect/</<@https://localhost/wp-includes/js/dist/data.js?ver=7fe70ce69d4580ea6b07:4132:31 @https://localhost/wp-includes/js/dist/compose.js?ver=6861d91c4896ce3aecda:3117:10 En<@https://localhost/wp-content/plugins/seo-by-rank-math/assets/admin/js/rank-math-app.js?ver=1.0.204:1:158832 withDispatch/</<@https://localhost/wp-includes/js/dist/data.js?ver=7fe70ce69d4580ea6b07:4286:46 div div div i@https://localhost/wp-content/plugins/seo-by-rank-math/assets/admin/js/rank-math-app.js?ver=1.0.204:1:66459 withInstanceId</<@https://localhost/wp-includes/js/dist/compose.js?ver=6861d91c4896ce3aecda:3372:39 Jn Consider adding an error boundary to your tree to customize error handling behavior. Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries. post.php:12975:25
Error 3:
Uncaught TypeError: e is null value https://localhost/wp-content/plugins/seo-by-rank-math/assets/admin/js/rank-math-app.js?ver=1.0.204:1 value https://localhost/wp-content/plugins/seo-by-rank-math/assets/admin/js/rank-math-app.js?ver=1.0.204:1 value https://localhost/wp-content/plugins/seo-by-rank-math/assets/admin/js/rank-math-app.js?ver=1.0.204:1 setTimeout handler*value https://localhost/wp-content/plugins/seo-by-rank-math/assets/admin/js/rank-math-app.js?ver=1.0.204:1 commitLayoutEffectOnFiber https://localhost/wp-includes/js/dist/vendor/react-dom.js?ver=18.2.0:23315 commitLayoutMountEffects_complete https://localhost/wp-includes/js/dist/vendor/react-dom.js?ver=18.2.0:24698 commitLayoutEffects_begin https://localhost/wp-includes/js/dist/vendor/react-dom.js?ver=18.2.0:24684 commitLayoutEffects https://localhost/wp-includes/js/dist/vendor/react-dom.js?ver=18.2.0:24622 commitRootImpl https://localhost/wp-includes/js/dist/vendor/react-dom.js?ver=18.2.0:26833 commitRoot https://localhost/wp-includes/js/dist/vendor/react-dom.js?ver=18.2.0:26692 performSyncWorkOnRoot https://localhost/wp-includes/js/dist/vendor/react-dom.js?ver=18.2.0:26127 flushSyncCallbacks https://localhost/wp-includes/js/dist/vendor/react-dom.js?ver=18.2.0:12052 flushSync https://localhost/wp-includes/js/dist/vendor/react-dom.js?ver=18.2.0:26211 legacyCreateRootFromDOMContainer https://localhost/wp-includes/js/dist/vendor/react-dom.js?ver=18.2.0:29585 legacyRenderSubtreeIntoContainer https://localhost/wp-includes/js/dist/vendor/react-dom.js?ver=18.2.0:29611 render https://localhost/wp-includes/js/dist/vendor/react-dom.js?ver=18.2.0:29695 value https://localhost/wp-content/plugins/seo-by-rank-math/assets/admin/js/classic.js?ver=1.0.204:1 setTimeout handler*value https://localhost/wp-content/plugins/seo-by-rank-math/assets/admin/js/classic.js?ver=1.0.204:1 runHooks https://localhost/wp-includes/js/dist/hooks.js?ver=cb3553927d7ab6049113:395 <anonymous> https://localhost/wp-content/plugins/seo-by-rank-math/assets/admin/js/classic.js?ver=1.0.204:1 jQuery 28 <anonymous> https://localhost/wp-content/plugins/seo-by-rank-math/assets/admin/js/classic.js?ver=1.0.204:1 jQuery 10 <anonymous> https://localhost/wp-content/plugins/seo-by-rank-math/assets/admin/js/classic.js?ver=1.0.204:1 <anonymous> https://localhost/wp-content/plugins/seo-by-rank-math/assets/admin/js/classic.js?ver=1.0.204:1 rank-math-app.js:1:152817
This hadn’t been an issue not that long ago, so it’s arisen very recently.
As I did this with all plugins/custom themes disabled, please let me know how I can help you find the cause.
Thanks,
FJ
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘window.tinymce is not defined’ is closed to new replies.