• Hi Kadence Team,

    When I try to add some blocks to a page, like Icon or Icon list, the block doesn’t get added and I get a huge console error. Actually two. This is the second one:

    Uncaught TypeError: stack.shift() is null
        flattenBlocks2 https://tec.andrasguseo.com/wp-includes/js/dist/block-editor.js?ver=eae9c1c1fdbcd744c9d5:12453
        privateRemoveBlocks https://tec.andrasguseo.com/wp-includes/js/dist/block-editor.js?ver=eae9c1c1fdbcd744c9d5:12461
        createThunkMiddleware https://tec.andrasguseo.com/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:1136
        createMiddleware Redux
        promiseMiddleware https://tec.andrasguseo.com/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:1100
        createResolversCacheMiddleware https://tec.andrasguseo.com/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:1127
        bindAction https://tec.andrasguseo.com/wp-includes/js/dist/data.js?ver=c64d89d47908ae6c6928:1836
        y https://tec.andrasguseo.com/wp-content/plugins/kadence-blocks/dist/blocks-icon.js?ver=cb556cca8dc90b4a51bf:1
        commitHookEffectListMount https://tec.andrasguseo.com/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:23199
        invokePassiveEffectMountInDEV https://tec.andrasguseo.com/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:25203
        invokeEffectsInDev https://tec.andrasguseo.com/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:27400
        commitDoubleInvokeEffectsInDEV https://tec.andrasguseo.com/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:27379
        flushPassiveEffectsImpl https://tec.andrasguseo.com/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:27105
        flushPassiveEffects https://tec.andrasguseo.com/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:27033
        commitRootImpl https://tec.andrasguseo.com/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:26984
        commitRoot https://tec.andrasguseo.com/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:26731
        performSyncWorkOnRoot https://tec.andrasguseo.com/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:26166
        flushSyncCallbacks https://tec.andrasguseo.com/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:12052
        ensureRootIsScheduled https://tec.andrasguseo.com/wp-includes/js/dist/vendor/react-dom.js?ver=18.3.1.1:25700

    Any clue how to fix this?
    I did conflict testing and the whole shebang. No use.

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

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

    (@architabasandrai20)

    Hi @aguseo

    Thanks for sharing the error details and for already doing conflict testing, that’s really helpful.

    From the console trace, the error appears to be happening inside the WordPress block editor (block-editor.js) when Kadence tries to insert the block, specifically during the block flatten/remove process. Since you’ve already done conflict testing, this may be related to either corrupted editor block data, cached editor assets, or a deeper compatibility issue.

    Could you please share the following so I can investigate further:

    • Your Site Health info (Tools → Site Health → Info → Copy site info)
    • Which versions of WordPress, Kadence Blocks, and Kadence Blocks Pro you’re currently using
    • Whether this happens on all pages or only a specific page/post
    • If possible, a screen recording showing the issue and the full console error

    Also, please try these quick checks if you have not already:

    • Clear all caching, including any server cache/CDN/browser cache
    • Regenerate Kadence Blocks CSS in Settings → Kadence → Performance
    • Try creating a brand new test page and add an Icon block there
    • Check whether the issue happens with only Kadence Blocks active and a default theme like Twenty Twenty-Six temporarily enabled.

    Once I have the Site Health info, I can take a closer look.

    Please note that you can also submit a support ticket via these channels.

    FREE Users: https://www.kadencewp.com/help-center/free-support/

    Premium Users: https://www.kadencewp.com/help-center/premium-support/

    Thank you for your understanding!

    Best regards,
    Archita

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.