Support » Fixing WordPress » Error after update to 5.5.1

  • Resolved aleksandr96

    (@aleksandr96)


    I get the following error when I try to open some page. It is appear after updating WordPress to 5.5.1.

    Notice: Undefined offset: 0 in /home/radenkz/public_html/wp-includes/class-wp-block.php on line 211
    
    Fatal error: Uncaught Error: Call to a member function render() on null in /home/radenkz/public_html/wp-includes/class-wp-block.php:211 
    Stack trace: 
    #0 /home/radenkz/public_html/wp-includes/blocks.php(720): WP_Block->render() 
    #1 /home/radenkz/public_html/wp-includes/blocks.php(758): render_block(Array) #2 /home/radenkz/public_html/wp-includes/class-wp-hook.php(287): do_blocks('<!-- wp:paragra...') 
    #3 /home/radenkz/public_html/wp-includes/plugin.php(206): WP_Hook->apply_filters('<!-- wp:paragra...', Array) 
    #4 /home/radenkz/public_html/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(1683): apply_filters('the_content', '<!-- wp:paragra...')
    #5 /home/radenkz/public_html/wp-includes/rest-api/endpoints/class-wp-rest-posts-controller.php(505): WP_REST_Posts_Controller->prepare_item_for_response(Object(WP_Post), Object(WP_REST_Request)) 
    #6 /home/radenkz/public_html/wp-includes/rest-api/class-wp-rest-server.php(1050): WP_REST_Posts_Controller->get_item(Object(WP_REST_Request))
    #7 /home/radenkz/public_html/wp-incl in /home/radenkz/public_html/wp-includes/class-wp-block.php on line 211
Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator

    Try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).

    Is is not work…
    The link with error

    I have install Classic Editor and the problem is gone.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.