• Hi,

    Clicking on the Customize button results in the following errors:

    TypeError: Cannot read properties of undefined (reading 'ref')
        at https://www.mysite.com/wp-includes/js/dist/edit-site.min.js:7:10367
        at we (https://www.mysite.com/wp-includes/js/dist/vendor/react-dom.min.js:84:293)
        at nh (https://www.mysite.com/wp-includes/js/dist/vendor/react-dom.min.js:96:43)
        at zj (https://www.mysite.com/wp-includes/js/dist/vendor/react-dom.min.js:230:425)
        at Th (https://www.mysite.com/wp-includes/js/dist/vendor/react-dom.min.js:152:223)
        at tj (https://www.mysite.com/wp-includes/js/dist/vendor/react-dom.min.js:152:152)
        at Te (https://www.mysite.com/wp-includes/js/dist/vendor/react-dom.min.js:146:151)
        at Ja (https://www.mysite.com/wp-includes/js/dist/vendor/react-dom.min.js:224:381)
        at md (https://www.mysite.com/wp-includes/js/dist/vendor/react-dom.min.js:173:43)
        at https://www.mysite.com/wp-includes/js/dist/vendor/react-dom.min.js:175:222

    Best,

    Will

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi there! A couple followup questions:

    1. Where are you clicking the Customize button? Assuming you’re using WordPress 5.9, block themes generally use the Site Editor for site customization, not the Customizer. As a result, most links to the Customizer will have been removed, unless you have a plugin installed that specifically makes use of the Customizer.

    2. Related to that, do you have any other plugins installed on the site? If so, have you tried this with those deactivated?

    Thanks!

    Thread Starter war59312

    (@war59312)

    /wp-admin/themes.php

    Customize button on the active theme.

    Indeed, take me to /wp-admin/site-editor.php which displays:

    The editor has encountered an unexpected error.

    I clicked “copy error” it has shows the errors in original post.

    But you are right, I thought I had disabled all plugins, missed one, “WP Hardening” @ https://www.ads-software.com/plugins/wp-security-hardening/ is at fault.

    Reported at https://www.ads-software.com/support/topic/remove-version-from-script-breaks-preview/#post-15313334

    Thought it was issued with this new theme as was not having the issue with 2016 wp theme.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Customize Button Results In Errors’ is closed to new replies.