Skip to content

Fatal Error with Gutenberg plugin v5.3.0 because of deprecated/removed function #7557

@deckerweb

Description

@deckerweb

The function gutenberg_can_edit_post_type() from the Gutenberg plugin was deprecated with 5.1.0 and now got removed in 5.3.0 of the plugin. See: WordPress/classic-editor#87

You should switch to the WP Core function use_block_editor_for_post_type()

This effects the file /elementor/includes/compatibility.php, L54, as of Elementor 2.5.9:
Change:
! gutenberg_can_edit_post_type( $typenow )
to:
! use_block_editor_for_post_type( $typenow )

Metadata

Metadata

Assignees

No one assigned

    Labels

    compatibility/3rd-partyIndicates a compatibility problem with a 3rd-party plugin or theme.status/mergedIndicates when a Pull Request has been merged to a Release.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions