• Resolved Paul de Wouters

    (@pauldewouters)


    Hello

    great plugin, thanks. I just hit an issue with it, when I activate “user permissions” – “Restrict block visibility controls to selected user roles.” – then it causes some of my blocks to crash in the editor. The console has an error trace, seems related to the .every method in the JS

    react-dom.min.js?ver=16.13.1:125 TypeError: c.every is not a function
        at Xl (block-visibility-editor.js?ver=2814133cdf9d810e6e2403229a21c009:9:2594)
        at block-visibility-editor.js?ver=2814133cdf9d810e6e2403229a21c009:9:7814
        at we (react-dom.min.js?ver=16.13.1:84:293)
        at He (react-dom.min.js?ver=16.13.1:97:464)
        at zj (react-dom.min.js?ver=16.13.1:228:406)
        at Th (react-dom.min.js?ver=16.13.1:152:223)
        at tj (react-dom.min.js?ver=16.13.1:152:152)
        at Te (react-dom.min.js?ver=16.13.1:146:151)
        at react-dom.min.js?ver=16.13.1:61:68
        at unstable_runWithPriority (react.min.js?ver=16.13.1:25:260)
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Nick Diego

    (@ndiego)

    Thanks for logging a ticket @pauldewouters. Just to confirm, you enabled the “user permissions” plugin setting correct? Can you also let me know which block types crashed, or if it appears to be random?

    Thanks for your help!

    Nick

    Plugin Author Nick Diego

    (@ndiego)

    Good morning Paul,

    It’s been a couple of weeks, but I just wanted to follow up on this ticket. Can you also let me know which block types crashed, or if it appears to be random? Also if you would be able to provide your current WordPress version number and if you are using the Gutenberg plugin as well. I will attempt to recreate the issue on my end and diagnose it. So far, I have been unable to do so.

    Look forward to hearing from you.

    Nick

    Plugin Author Nick Diego

    (@ndiego)

    Hi again Paul,

    Since I am unable to replicate and it’s been a few weeks, I am going to close this issue out. If you have any additional info you can share (see previous comment), I am happy to continue testing. Just let me know, thanks! 🙏

    Best,
    Nick

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘causes blocks to crash when using User permissions’ is closed to new replies.