Title: Error JS in console log when WP_DEBUG = true
Last modified: November 28, 2024

---

# Error JS in console log when WP_DEBUG = true

 *  Resolved [iskisbzh](https://wordpress.org/support/users/iskisbzh/)
 * (@iskisbzh)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/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.9I replaced the domain of my website by “mydomain” or “…” in the 
   lines behindHappend 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-createroot](https://reactjs.org/link/switch-to-createroot)
   [react-dom.js:73:32](http://www.agence-menthealeau.local/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1)
 *     printWarning [https://mydomain/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1:73](https://mydomain/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1:73)
 *     error [https://mydomain](https://mydomain)/wp-includes/js/dist/vendor/react-
   dom.js?ver=18.3.1:47
 *     render [https://mydomain](https://mydomain)/wp-includes/js/dist/vendor/react-
   dom.js?ver=18.3.1:29726
 *     <anonyme> [https://mydomain](https://mydomain)/wp-content/plugins/wordpress-
   seo/js/dist/dashboard-widget.js?ver=ad6147e367cc50376cc5:1
 *     <anonyme> [https://mydomain](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

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [iskisbzh](https://wordpress.org/support/users/iskisbzh/)
 * (@iskisbzh)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/error-js-in-console-log-when-wp_debug-true/#post-18173655)
 * Correction :
   Not only when WP_DEBUG = true The bug happen when _define(‘SCRIPT\
   _DEBUG’, true);_
 *  Plugin Support [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * (@maybellyne)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/error-js-in-console-log-when-wp_debug-true/#post-18176623)
 * Hello [@iskisbzh](https://wordpress.org/support/users/iskisbzh/)
 * Thanks for reaching out. Does the issue persist if you update to Yoast SEO v24.0?
 *  Thread Starter [iskisbzh](https://wordpress.org/support/users/iskisbzh/)
 * (@iskisbzh)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/error-js-in-console-log-when-wp_debug-true/#post-18177965)
 * Yes, the bug persist with yoast v24.0
   Happen when _define_(‘SCRIPT_DEBUG’, true);
 *  [Mushrit Shabnam](https://wordpress.org/support/users/611shabnam/)
 * (@611shabnam)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/error-js-in-console-log-when-wp_debug-true/#post-18179841)
 * Hi [@iskisbzh](https://wordpress.org/support/users/iskisbzh/)
 * Thank you for bringing this issue to our attention! I’m sorry that our plugin
   caused a problem on your site. We have two open bug reports [[this one](https://github.com/Yoast/wordpress-seo/issues/19858)
   and [this one](https://github.com/Yoast/wordpress-seo/issues/21799)] and is under
   review by our product team.
 * **Workaround**
   At this time, there is no known workaround.
 * **What’s next?**
   Our product team will assess the severity of the issue and assign
   a priority level to the report. Our developers work on the highest priority issues
   first. We cannot give you an estimate of when they’ll start working on the issue.
 * If you have any further information that may affect the prioritization or help
   our development team solve this bug, please feel invited to reply to this forum
   topic, and we’ll share the information with our product team.
    -  This reply was modified 1 year, 6 months ago by [Mushrit Shabnam](https://wordpress.org/support/users/611shabnam/).

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Error JS in console log when WP_DEBUG = true’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Mushrit Shabnam](https://wordpress.org/support/users/611shabnam/)
 * Last activity: [1 year, 6 months ago](https://wordpress.org/support/topic/error-js-in-console-log-when-wp_debug-true/#post-18179841)
 * Status: resolved