• Resolved Carlos Padilla

    (@elpadi17)


    When creating a new post, or editing a draft, the block editor crashes when resizing the window to the mobile view.

    This issue does not exist when using the classic editor.

    Steps to reproduce:

    1. Start a plain fresh WP install.
    2. Go to create a new post.
    3. Add a title and some dummy content to trigger the autosave.
    4. Reduce the screen width to 599px or less.

    JS Stack Trace:

    Error: Failed to execute 'removeChild' on 'Node': The node to be removed is not a child of this node.
        at Dh (https://publish-press.lndo.site/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:133:303)
        at Aj (https://publish-press.lndo.site/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:158:298)
        at unstable_runWithPriority (https://publish-press.lndo.site/wp-includes/js/dist/vendor/react.min.js?ver=16.13.1:25:260)
        at Da (https://publish-press.lndo.site/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:60:280)
        at ab (https://publish-press.lndo.site/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:154:190)
        at Te (https://publish-press.lndo.site/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:146:355)
        at https://publish-press.lndo.site/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:61:68
        at unstable_runWithPriority (https://publish-press.lndo.site/wp-includes/js/dist/vendor/react.min.js?ver=16.13.1:25:260)
        at Da (https://publish-press.lndo.site/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:60:280)
        at Pg (https://publish-press.lndo.site/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.13.1:61:14)

    PHP Stack Trace:

    in array_intersect_key called at /wp-includes/rest-api/class-wp-rest-server.php (1436)
     in WP_REST_Server::get_data_for_route called at /wp-includes/rest-api/class-wp-rest-server.php (1358)
     in WP_REST_Server::get_data_for_routes called at /wp-includes/rest-api/class-wp-rest-server.php (1224)
     in WP_REST_Server::get_index called at /wp-includes/rest-api/class-wp-rest-server.php (1140)
     in WP_REST_Server::respond_to_request called at /wp-includes/rest-api/class-wp-rest-server.php (987)
     in WP_REST_Server::dispatch called at /wp-includes/rest-api.php (495)
     in rest_do_request called at /wp-includes/rest-api.php (2832)
     in rest_preload_api_request called at ? (?)
     in array_reduce called at /wp-includes/block-editor.php (444)
     in block_editor_rest_api_preload called at /wp-admin/edit-form-blocks.php (68)
     in require called at /wp-admin/post.php (187)

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Steve Burge

    (@stevejburge)

    Hi @elpadi17

    Thanks for using PublishPress.

    Are you sure you’re asking about the right plugin here? You’re using PublishPress which has the big editorial calendar?

    If you are, simply shrinking the screen size causes the site to crash?

    I can confirm this issue. I’ve been working on the same thing. Stock 2021 theme, only active plugin is PublishPress. To reproduce, create a new post, add a title or something, then resize your browser down to the smallest mobile size. The block editor crashes and you get an error message.

    Alternatively, start with the browser at it’s smallest size, create a new post, add a title or something, resize the browser to a larger size, notice the error again when the block editor fails.

    So yeah, simply shrinking the screen size causes G-Berg to crash. Disable PublishPress, resize browser, no crash.

    Thread Starter Carlos Padilla

    (@elpadi17)

    Hi, yes. That’s why I posted here. The issue goes away once Publish Press is deactivated.

    We use it more for the Custom Status feature, but I can confirm that this is the right plugin.

    Thanks.

    Plugin Author andergmartins

    (@andergmartins)

    Hi @elpadi17 and @jpollock,

    We have a new package addressing this bug.

    https://www.dropbox.com/s/34cub84sdh7yo21/publishpress-3.6.2-beta.2.zip?dl=0

    We are planning to release next week, but feel free to keep the beta installed and update when the stable version is available.

    Thanks @andergmartins! The Dropbox link doesn’t seem to work thought. It reports the item was deleted. Is there an alternative available for us?

    Plugin Author andergmartins

    (@andergmartins)

    Hi,

    Sorry for the issue with the link.

    Please, could you try this new link?

    https://www.dropbox.com/t/m9G5UaTmOp61VDec

    It will be available for 7 days.

    Thanks,

    Anderson

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Block editor crash when resizing to mobile view’ is closed to new replies.