Error JS in console log when WP_DEBUG = true
-
Only When WP_DEBUG = true
This warning and plenty others broke gutenberg edit block.
Linux mint and firefox.
Latest version of wordpress 6.7.1 – latest version of yoast 23.9
I replaced the domain of my website by “mydomain” or “…” in the lines behind
Happend on edit mode (gutenberg page)Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it’s running React 17. Learn more: https://reactjs.org/link/switch-to-createrootreact-dom.js:73:32
printWarning https://mydomain/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1:73
error https://mydomain/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1:47
render https://mydomain/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1:29726
<anonyme> https://mydomain/wp-content/plugins/wordpress-seo/js/dist/dashboard-widget.js?ver=ad6147e367cc50376cc5:1
<anonyme> https://mydomain/wp-content/plugins/wordpress-seo/js/dist/dashboard-widget.js?ver=ad6147e367cc50376cc5:1
Another warning :
Warning: v: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead. v@…/wp-content/plugins/wordpress-seo/js/dist/externals/componentsNew.js?ver=898e7a63226507fb9afc:194:371 _@…/wp-content/plugins/wordpress-seo/js/dist/externals/componentsNew.js?ver=898e7a63226507fb9afc:194:1775 I@…/wp-content/plugins/wordpress-seo/js/dist/externals/styledComponents.js?ver=f030a78c47ee9be46c07:1:31592 ys xa@…/wp-content/plugins/wordpress-seo/js/dist/block-editor.js?ver=7f5f93b89077ef523ddd:506:6 withSelect/</<@…/wp-includes/js/dist/data.js?ver=3b2ba2c4c2cb0f74c344:4339:31 @…/wp-includes/js/dist/compose.js?ver=618ce15a0544f745c6eb:3343:10 P@…/wp-content/plugins/wordpress-seo/js/dist/block-editor.js?ver=7f5f93b89077ef523ddd:16:3053 Ta@…/wp-content/plugins/wordpress-seo/js/dist/block-editor.js?ver=7f5f93b89077ef523ddd:507:1601 div nr@…/wp-content/plugins/wordpress-seo/js/dist/block-editor.js?ver=7f5f93b89077ef523ddd:272:1128 SlotComponent@…/wp-includes/js/dist/components.js?ver=490baf094e76d91dd234:33416:5 Slot UnforwardedSlot@…/wp-includes/js/dist/components.js?ver=490baf094e76d91dd234:33978:7 t@…/wp-content/plugins/wordpress-seo/js/dist/externals/uiLibrary.js?ver=10d91e84649f91e0f22c:1:591 _e@…wp-content/plugins/wordpress-seo/js/dist/externals/styledComponents.js?ver=f030a78c47ee9be46c07:1:29679 x@…/wp-content/plugins/wordpress-seo/js/dist/block-editor.js?ver=7f5f93b89077ef523ddd:16:2191 D@…/wp-content/plugins/wordpress-seo/js/dist/block-editor.js?ver=7f5f93b89077ef523ddd:16:6406 P@…/wp-content/plugins/wordpress-seo/js/dist/block-editor.js?ver=7f5f93b89077ef523ddd:16:3053 fo@…/wp-content/plugins/wordpress-seo/js/dist/block-editor.js?ver=7f5f93b89077ef523ddd:531:3584 w@…/wp-content/plugins/wordpress-seo/js/dist/externals-contexts.js?ver=10ecaeb7fee15b420938:1:426 render PluginErrorBoundary@…/wp-includes/js/dist/plugins.js?ver=cd5358b6369eff6f7b85:291:5 div PluginArea@…/wp-includes/js/dist/plugins.js?ver=cd5358b6369eff6f7b85:601:20 BlockRefsProvider@…/wp-includes/js/dist/block-editor.js?ver=6d9093f09070e6e7425e:27717:27 Provider@…/wp-includes/js/dist/components.js?ver=490baf094e76d91dd234:33990:18 ExperimentalBlockEditorProvider<@…/wp-includes/js/dist/block-editor.js?ver=6d9093f09070e6e7425e:36997:7 withRegistryProvider</<@…/wp-includes/js/dist/block-editor.js?ver=6d9093f09070e6e7425e:36537:117 BlockContextProvider@…/wp-includes/js/dist/block-editor.js?ver=6d9093f09070e6e7425e:37056:30 EntityProvider@…/wp-includes/js/dist/core-data.js?ver=3461264c74d08f890ac1:6995:24 EntityProvider@…/wp-includes/js/dist/core-data.js?ver=3461264c74d08f890ac1:6995:24 ExperimentalEditorProvider<@…/wp-includes/js/dist/editor.js?ver=ef18ccc096d0cd84bb34:24580:59 withRegistryProvider</<@…/wp-includes/js/dist/editor.js?ver=ef18ccc096d0cd84bb34:21972:117 Editor@…/wp-includes/js/dist/editor.js?ver=ef18ccc096d0cd84bb34:29355:16 div ErrorBoundary@…/wp-includes/js/dist/editor.js?ver=ef18ccc096d0cd84bb34:11688:5 SlotFillProvider@…/wp-includes/js/dist/components.js?ver=490baf094e76d91dd234:33828:26 provider_SlotFillProvider@…/wp-includes/js/dist/components.js?ver=490baf094e76d91dd234:33926:35 Provider@…/wp-includes/js/dist/components.js?ver=490baf094e76d91dd234:33990:18 Layout@…/wp-includes/js/dist/edit-post.js?ver=dfe4443c649a0ed7a76a:3115:16
The topic ‘Error JS in console log when WP_DEBUG = true’ is closed to new replies.