• When I upgraded to Bento 2.5 I got the white page.

    My debug log says the fatal error is in the Bento header:

    PHP Fatal error: Uncaught Error: Call to undefined function wp_body_open() in /home/thegr183/staging.thegreatworkdecoded.com/wp-content/themes/bento/header.php:27

    Here’s an excerpt from the header:

    <?php // This encompasses the visible part of the website ?>

    <body <?php body_class(); ?>>

    HERE’S THE ERROR!!! <?php wp_body_open(); ?> HERE’S THE ERROR!!! Wp_body_open()

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter gilbertleigh

    (@gilbertleigh)

    I’ve just compared my working live site (which uses the old 2.4 version of Bento) with my staging site that’s not working (white screen). The theme header.php file in my working site doesn’t contain the wp_body_open() function on line 27. Would it be ok to just delete that function from my staging site’s theme header.php file?

    Thread Starter gilbertleigh

    (@gilbertleigh)

    Success! I deleted the wp_body_open() function on line 27 and my staging site is working again.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Uncaught Error: Call to undefined function wp_body_open()’ is closed to new replies.