• Resolved lazykins

    (@lazykins)


    Since updating metaslider to 3.25.0, I get the following error when trying to edit any page on my website.

    TypeError: Cannot read properties of undefined (reading 'className')
        at Li (**/wp-content/plugins/ml-slider/extendify-sdk/public/build/extendify.js?ver=0.3.0)
        at Object.e.getEditWrapperProps (**/wp-content/plugins/ml-slider/extendify-sdk/public/build/extendify.js?ver=0.3.0)
        at **/wp-includes/js/dist/block-editor.min.js?ver=xxxxx
        at Le (**/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1)
        at Pj (**/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1)
        at di (**/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1)
        at Nj (**/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1)
        at sc (**/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1)
        at gf (**/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1)
        at     **/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1
    • This topic was modified 2 years, 10 months ago by lazykins.
    • This topic was modified 2 years, 10 months ago by lazykins. Reason: removing unnecessary code clutter

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi @lazykins

    What version of WordPress are you on? Are you using the Gutenberg editor?

    Thread Starter lazykins

    (@lazykins)

    Hello. Sorry, that would help. I’ve just updated to 5.9 and yes, I am using Gutenberg editor. The theme is Ascend by Kadence.

    I can’t reproduce the error on the 2021 theme but let me try to install Ascend and see if there is a conflict there.

    Are you currently unable to do anything like edit or save, or is it just showing the error message in the console and otherwise harmless?

    Thread Starter lazykins

    (@lazykins)

    I cannot edit or save.
    The editing area is blank and there is a dialog box:

    The editor has encountered an unexpected error.
    Attempt recovery // copy post text // copy error.

    The only thing that works is copy error.

    ADDING: This doesn’t seem to affect pages with no content.

    • This reply was modified 2 years, 10 months ago by lazykins.

    I found the conflict. It’s with the Kadence block library. If I go to a new page and attempt to open their library (via the top button) it crashes. It probably crashes when using their custom blocks too.

    Oddly enough it didn’t appear until I installed 5.9

    Let me see if there’s a quick way to resolve it. I’ll follow up in a bit.

    Thread Starter lazykins

    (@lazykins)

    Thank you very much. I’m sure all of my pages on that site use their custom blocks, so you are probably correct.

    Hey @lazykins

    It might take some time for us to release a patch to resolve the conflict, but I can help you get your site working again. The issue is that one of our block filters is being interrupted by a filter that Kadence added, likely because of some functionality that WP changed in 5.9. Since you’re using the Kadenceblocks through out your site, I can give you some code to disable that filter we include until things get patched up. Are you comfortable with adding a mu-plugin? It probably sounds scarier than it is, but it’s required to add these sort of filters, as we need to disable code that runs before plugin code does.

    Basically you add a file to /wp-content/mu-plugins/ (create the directory if it doesn’t exist) and name it anything, like extendify.php. Then in that file you add this:

    <?php
    add_filter('extendify_load_library', '__return_false');

    MetaSlider will look for that filter and since it’s false, will not load the code.

    Let me know if you have any questions

    Thread Starter lazykins

    (@lazykins)

    Works like a charm! Thanks so much for all of your help!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Problem after update’ is closed to new replies.