• Resolved fishmi

    (@fishmi)


    After the update to WordPress 5.9. the editor no longer works and the following error message indicates that your plug-in is the reason.

    TypeError: Cannot read properties of undefined (reading 'className')
        at di (http://enocean.test/wp-content/plugins/block-options/extendify-sdk/public/build/extendify-sdk.js?ver=13.4:2:175928)
        at Object.e.getEditWrapperProps (http://enocean.test/wp-content/plugins/block-options/extendify-sdk/public/build/extendify-sdk.js?ver=13.4:2:176771)
        at http://enocean.test/wp-content/plugins/block-options/build/index.js?ver=1643184395:16:407974
        at Le (http://enocean.test/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:100:3)
        at Pj (http://enocean.test/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:231:183)
        at di (http://enocean.test/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:168:305)
        at Nj (http://enocean.test/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:168:236)
        at sc (http://enocean.test/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:168:96)
        at gf (http://enocean.test/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:162:109)
        at http://enocean.test/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:73:230

    If I switch it off, the editor works again.
    Looking forward to an update.

    Martin

Viewing 9 replies - 1 through 9 (of 9 total)
  • У меня такая же ошибка после обновления до WordPress 5.9, как и у fishmi. Ждем обновления плагина

    I solved this temporarily by editing block-options/extendify-sdk/app/Admin.php

    Added a “return false;” in the last function

    */
        public function isLibraryEnabled()
        {
            $settings = json_decode(SiteSettings::data());
    //DISABLE EXTENDIFY TEMPORARILY
            return false;
    
            // If it's disabled, only show it for admins.
            if (isset($settings->state) && (isset($settings->state->enabled)) && !$settings->state->enabled) {
                return $this->isAdmin();
            }
    
            return true;
        }
    Plugin Author Munir Kamal

    (@munirkamal)

    Hey everyone,

    Thank you for sharing all the details, we’ve done some tweaks and hope this should be fixed in the latest update. Could you please update the plugin & test again and let me know.

    Cheers,
    Munir

    Thread Starter fishmi

    (@fishmi)

    Hello Munir,

    Looks good, no more problems, the pages can be edited again.

    Please continue to develop this great plug-in, which has become indispensable for my WP installations, especially because of the possibility of linking groups.

    Martin

    Plugin Author Munir Kamal

    (@munirkamal)

    Hey Martin,

    Glad to hear that your issue has been resolved. And yeah I am committed to continue improving and maintaining EditorsKit alongside my other plugin EditorPlus.

    It would be appreciated if you could leave a review to support this plugin.
    https://wordpress.org/support/plugin/block-options/reviews/#new-post

    Cheers,
    Munir

    У меня тоже работает хорошо, проблем теперь нет. Спасибо за быструю помощь.

    Plugin Author Munir Kamal

    (@munirkamal)

    @po64 cool 👍

    Thanks Munir you rock!

    Plugin Author Munir Kamal

    (@munirkamal)

    @juanpa13 great, and thanks for leaving a review.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘WP 5.9 Error’ is closed to new replies.