• Resolved 1benk1

    (@1benk1)


    Hi,
    the update to version 2.0.5 is causing an error in block editor on new posts.

    Steps to reproduce:
    1. create a new post
    2. navigate to block pattern

    -> block editor crashes

    On version 2.0.4 this problem doesn’t exists.

    Best regards,
    Ben

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author BlockMeister

    (@blockmeister)

    Hi Ben,

    I did a quick test but couldn’t reproduce this (yet).

    Before I dive deeper into it, could you please first update to the latest 2.0.6 release and let me know if the problem still is present in that release.

    If the problem is also in 2.0.6 then I need a bit more information E.g. when you open the developer tool section of your browser do you see any related errors javascript error in the console?

    Also, could you explain what you mean by ‘block edit crashes’?

    Thanks.

    Best regards,
    Benny

    Thread Starter 1benk1

    (@1benk1)

    Hi Benny,
    I think I have found the problem…

    We use following code within the child theme:

    add_action( 'after_setup_theme', function() {
    	remove_theme_support( 'core-block-patterns' );	
    } );

    This code snippet is recommended to disable the wordpress default pattern.
    (see for example https://wpblockz.com/tutorial/remove-default-block-patterns-from-wordpress/)

    2.0.4 has no problem with this but version 2.0.5 and later crashed in case of remove_theme_support( 'core-block-patterns' );

    Best regards,
    Ben

    Plugin Author BlockMeister

    (@blockmeister)

    Hi Ben,

    Although I still wasn’t able to replicate the crash you got, I did find the likely culprit.

    Before I release the fix officially, could you please download the 2.0.7 beta, upload it to yo site and test if it solves the problem on your site?

    You can download the 2.0.7 beta1 here.

    Thread Starter 1benk1

    (@1benk1)

    Hi Benny,
    the bug seems fixed with this beta version.
    Many thanks for this really quick fix.

    Best regards,
    Ben

    Plugin Author BlockMeister

    (@blockmeister)

    Thanks Ben.
    I just released the official 2.0.7 release.

    Best regards,
    Benny

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Update 2.0.5 causing an error in block editor on new posts’ is closed to new replies.