• Resolved M Rashid

    (@mamunur105)


    react-dom.js?ver=18.3.1.1:73 Warning: y: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
    at y (https://shopbuilder.local/wp-content/plugins/wordpress-seo/js/dist/externals/componentsNew.js?ver=7befd57…:928:180)
    at _ (https://shopbuilder.local/wp-content/plugins/wordpress-seo/js/dist/externals/componentsNew.js?ver=7befd57…:928:1971)
    at I (https://shopbuilder.local/wp-content/plugins/wordpress-seo/js/dist/externals/styledComponents.js?ver=dd0ef78…:1:31564)
    at ns (https://shopbuilder.local/wp-content/plugins/wordpress-seo/js/dist/block-editor.js?ver=8becb7f…:501:22)
    at lr (https://shopbuilder.local/wp-content/plugins/wordpress-seo/js/dist/block-editor.js?ver=8becb7f…:560:25)
    at https://shopbuilder.local/wp-includes/js/dist/data.js?ver=1756b6a…:2353:26
    at WithSelect(lr) (https://shopbuilder.local/wp-includes/js/dist/compose.js?ver=edb5a8c…:887:12)
    at E (https://shopbuilder.local/wp-content/plugins/wordpress-seo/js/dist/block-editor.js?ver=8becb7f…:300:2776)
    at ur (https://shopbuilder.local/wp-content/plugins/wordpress-seo/js/dist/block-editor.js?ver=8becb7f…:561:1556)
    at div
    at Is (https://shopbuilder.local/wp-content/plugins/wordpress-seo/js/dist/block-editor.js?ver=8becb7f…:531:1374)
    at Slot (https://shopbuilder.local/wp-includes/js/dist/components.js?ver=5dedfe1…:28316:7)
    at https://shopbuilder.local/wp-includes/js/dist/components.js?ver=5dedfe1…:28527:7
    at t (https://shopbuilder.local/wp-content/plugins/wordpress-seo/js/dist/externals/uiLibrary.js?ver=c4865ca…:1:2323)
    at _e (https://shopbuilder.local/wp-content/plugins/wordpress-seo/js/dist/externals/styledComponents.js?ver=dd0ef78…:1:29657)
    at N (https://shopbuilder.local/wp-content/plugins/wordpress-seo/js/dist/block-editor.js?ver=8becb7f…:300:4291)
    at M (https://shopbuilder.local/wp-content/plugins/wordpress-seo/js/dist/block-editor.js?ver=8becb7f…:300:4575)
    at E (https://shopbuilder.local/wp-content/plugins/wordpress-seo/js/dist/block-editor.js?ver=8becb7f…:300:2776)
    at Gr (https://shopbuilder.local/wp-content/plugins/wordpress-seo/js/dist/block-editor.js?ver=8becb7f…:570:16667)
    at w (https://shopbuilder.local/wp-content/plugins/wordpress-seo/js/dist/externals-contexts.js?ver=300c2a3…:1:447)
    at render
    at PluginErrorBoundary (https://shopbuilder.local/wp-includes/js/dist/plugins.js?ver=72e3cf0…:201:7)
    at div
    at PluginArea (https://shopbuilder.local/wp-includes/js/dist/plugins.js?ver=72e3cf0…:311:5)
    at BlockRefsProvider (https://shopbuilder.local/wp-includes/js/dist/block-editor.js?ver=93c3566…:17958:32)
    at Provider (https://shopbuilder.local/wp-includes/js/dist/components.js?ver=5dedfe1…:28542:5)
    at https://shopbuilder.local/wp-includes/js/dist/block-editor.js?ver=93c3566…:24134:19
    at WithRegistryProvider (https://shopbuilder.local/wp-includes/js/dist/block-editor.js?ver=93c3566…:23565:59)
    at BlockContextProvider (https://shopbuilder.local/wp-includes/js/dist/block-editor.js?ver=93c3566…:7325:35)
    at EntityProvider (https://shopbuilder.local/wp-includes/js/dist/core-data.js?ver=89931f9…:18468:5)
    at EntityProvider (https://shopbuilder.local/wp-includes/js/dist/core-data.js?ver=89931f9…:18468:5)
    at https://shopbuilder.local/wp-includes/js/dist/editor.js?ver=37faadb…:21138:13
    at https://shopbuilder.local/wp-includes/js/dist/editor.js?ver=37faadb…:13237:30
    at Editor (https://shopbuilder.local/wp-includes/js/dist/editor.js?ver=37faadb…:66617:15)
    at div
    at ErrorBoundary (https://shopbuilder.local/wp-includes/js/dist/editor.js?ver=37faadb…:42578:7)
    at SlotFillProvider (https://shopbuilder.local/wp-includes/js/dist/components.js?ver=5dedfe1…:28475:5)
    at Provider (https://shopbuilder.local/wp-includes/js/dist/components.js?ver=5dedfe1…:28542:5)
    at Layout (https://shopbuilder.local/wp-includes/js/dist/edit-post.js?ver=28ef50b…:2593:13)
    printWarning @ react-dom.js?ver=18.3.1.1:73

    Screenshoot : https://prnt.sc/_9J84BjvMs1E

Viewing 1 replies (of 1 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello @mamunur105,

    Thanks for reporting this. The message shown in the browser console: Support for defaultProps will be removed from function components in a future major release is a React deprecation warning rather than a functional error. It is indicating usage of a React pattern (defaultProps on function components) that React plans to remove in a future major release.

    If you are experiencing an editor issue in addition to the warning (for example: the Yoast sidebar not loading, missing analysis, editor instability, etc.), please share:

    • WordPress version
    • Yoast SEO version
    • Whether the Gutenberg plugin is installed
    • Whether the issue reproduces with only Yoast active

    If there is no functional issue and this is console-only, we’ll treat it as compatibility feedback for future updates.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.