• Resolved peterdost

    (@peterdost)


    Hi!
    First I am happy with Kadence Blocks, works great. Only one issue:
    When I try to change a standard gallery block to advanced gallery I immediately get an error. No matter how many pictures are in the gallery. What is going wrong and how can I fix it or work around it?

    Error:

    TypeError: Cannot read properties of undefined (reading 'map')
        at Object.transform (https://dost.myhome-server.de/wp-content/plugins/kadence-blocks/dist/build/blocks.js?ver=7720a8e6b07363887a95d442cf2fffbe:39:27587)
        at Ae (https://dost.myhome-server.de/wp-includes/js/dist/blocks.min.js?ver=28d5b8f8805a22435cbdc51927067812:2:21175)
        at w (https://dost.myhome-server.de/wp-includes/js/dist/block-editor.min.js?ver=56fd274d0d14fe0540d61051a6a899d2:2:12923)
        at Le (https://dost.myhome-server.de/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:100:3)
        at Re (https://dost.myhome-server.de/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:113:271)
        at Pj (https://dost.myhome-server.de/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:233:55)
        at di (https://dost.myhome-server.de/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:168:305)
        at Nj (https://dost.myhome-server.de/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:168:236)
        at sc (https://dost.myhome-server.de/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:168:96)
        at gf (https://dost.myhome-server.de/wp-includes/js/dist/vendor/react-dom.min.js?ver=17.0.1:162:109)

    Thank you very much in advance for every tip you might have!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Ben Ritner – Kadence WP

    (@britner)

    Hey,
    I just tested and couldn’t recreate this. can you tell me what version of WordPress you are using? have you tried deactivating other plugins?

    Ben

    Thread Starter peterdost

    (@peterdost)

    Hi! All my sites are on ver 5.9. I found the reason! When link to media file is enabled in the wordpress gallery block I get the error. When I disable link to media file I can change to advanced gallery. I reproduced this on 3 websites, so it is obvious.

    I can live with this workaround, but maybe you try and if you can also reproduce it you can fix it in future version.

    Thank you very much for the swift reply!
    Peter

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error when I try to change gallery to advanced gallery’ is closed to new replies.