Receiving Fatal Error: Fatal error: Cannot redeclare get_block_categories()
-
When I attempt to access my website I receive the following Fatal Error (I received the error from the Error log):
Fatal error: Cannot redeclare get_block_categories() (previously declared in /home/cev6mn2jvzdt/public_html/wp-includes/block-editor.php:69) in?/home/cev6mn2jvzdt/public_html/wp-admin/includes/post.php?on line?2184
I already disabled all plugins and themes except for the default by adding “.hold” to the end (even tried disabling the entire plugins folder).
Line 69 of block-editor.php reads (the first line below is 69):
function get_block_categories( $post_or_block_editor_context ) { $block_categories = get_default_block_categories(); $block_editor_context = $post_or_block_editor_context instanceof WP_Post ? new WP_Block_Editor_Context( array( 'post' => $post_or_block_editor_context, ) ) : $post_or_block_editor_context;
Line 2184 of post.php reads (the first line below is 2184):
function get_all_post_type_supports( $post_type ) { global $_wp_post_type_features; if ( isset( $_wp_post_type_features[ $post_type ] ) ) { return $_wp_post_type_features[ $post_type ]; }
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Receiving Fatal Error: Fatal error: Cannot redeclare get_block_categories()’ is closed to new replies.