• Hi, I’m currently running WordPress 5.7 and the Material Design theme along with Material Design plugin.

    When I attempt to use Material blocks in Gutenberg editor they don’t appear.

    When viewing a sample page that appears to be imported when I switched themes, I get the error “Your site doesn’t include support for the “material-image-list” block. You can leave this block intact, convert its content to a Custom HTML block, or remove it entirely.”

    Is this plugin not compatible with the latest version of WordPress?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hello @hugopalmer63 Thank you for reaching out.

    Material Design plugin and theme both support WordPress 5.7. The blocks are part of the plugin and if the plugin is not active you would see the error “Your site doesn’t include support for the “material-image-list” block. You can leave this block intact, convert its content to a Custom HTML block, or remove it entirely.”

    Could you verify if you have the plugin active ?

    Thread Starter hugopalmer63

    (@hugopalmer63)

    Hi @ravichandra , I can verify the plugin is active (Plugins → Installed Plugins). Also, if I go to Appearance → Customize I can see “Material Design Options” which I believe is from the plugin.

    I’ve deactivated other plugins to ensure there is no conflict and that did not work either.

    Do you see the error in the backend or the frontend ? If it’s on the frontend and the site is public could you share a URL where I can see the error ?

    If the error is in the backend, can you open developer console in your browser and reload the page and see if you are seeing any errors in the console ?

    Thread Starter hugopalmer63

    (@hugopalmer63)

    My URL is not public right now.

    I did open the developer console in the backend and discover the following message:

    wp.data.select( 'core/editor' ).getBlocks is deprecated. Please use wp.data.select( 'core/block-editor' ).getBlocks instead.

    Could that be the issue?

    Thread Starter hugopalmer63

    (@hugopalmer63)

    Here is another error:

    Using custom components as toolbar controls is deprecated. Please use ToolbarItem or ToolbarButton components instead. See: https://developer.www.ads-software.com/block-editor/components/toolbar-button/#inside-blockcontrols

    @hugopalmer63 These are warnings and not errors, they shouldn’t break anything on the page, would you be able to send a screenshot of the block editor page where you see the error and keep the console open ? Open console > Reload page > capture screenshot.

    Thread Starter hugopalmer63

    (@hugopalmer63)

    @ravichandra I’m not sure how to capture and post a screenshot.

    You are right those were warnings. I went back and there is the following error however:

    SyntaxError: invalid regexp group block-editor.js:1:1

    Thread Starter hugopalmer63

    (@hugopalmer63)

    Going from Firefox to Chrome fixed the issue. Must have been a browser compatibility issue.

    I have the same problem with the version above 5.7, including 5.7.1. If I refresh, sometimes it works, but usually not.

    All plugins have been deactivated, including /mu-plugins/, and a shipped theme activated. Same issue in Google Chrome and Chrome Canary. Safari works, but it takes several seconds for the UI to be clickable.

    Downgrading to 5.6 works, but this can’t be the right solution.

    Here is the error log that was logged when Gutenberg didn’t react.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Blocks Not Working with WordPress 5.7’ is closed to new replies.