• Hi, I’m having a bug on my site that I can’t figure out.

    I added the Grid block and choose a grid layout. Everything works fine at the beginning. However, if I click to access the mobile settings for the grid, the block (and the entire editor) crash. It won’t even let me attempt block recovery.

    Here’s the error message that I get when I copy the block error:

    Error: Failed to read the 'cssRules' property from 'CSSStyleSheet': Cannot access rules
        at https://mydomain.com/wp-includes/js/dist/block-editor.min.js?ver=fc8c27c6e95e7e0d59b4e344cb9ddfed:12:368615
        at Array.forEach (<anonymous>)
        at https://mydomain.com/wp-includes/js/dist/block-editor.min.js?ver=fc8c27c6e95e7e0d59b4e344cb9ddfed:12:368574
        at Bh (https://mydomain.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:126:456)
        at Dj (https://mydomain.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:162:476)
        at unstable_runWithPriority (https://mydomain.com/wp-includes/js/dist/vendor/react.min.js?ver=16.13.1:25:260)
        at Da (https://mydomain.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:60:280)
        at xb (https://mydomain.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:162:231)
        at Te (https://mydomain.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:146:79)
        at https://mydomain.com/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:61:68

    Any ideas?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Colin Newcomer

    (@crn001)

    Ahh I just figured out that the problem goes away if I disable the option to sync responsive previews in the GenerateBlocks settings. But I’m not sure why it’s crashing with that setting enabled.

    Btw, my theme is GeneratePress Premium.

    Plugin Author Tom

    (@edge22)

    Hi there,

    Strange, I’m not able to reproduce this.

    Can you confirm that it still happens with all other plugins deactivated?

    Thread Starter Colin Newcomer

    (@crn001)

    I’ll try to set up a staging site and see what happens.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Grid Block Crashes When Trying to Access Mobile Settings’ is closed to new replies.