• Hello,
    Since the last update of the Fanzone theme version 3.2, my site on WordPress 4.9.16 no longer opens. I have an error message here, (I put dots in place of the site info to be careful):
    Fatal error: Uncaught Error: Call to undefined function wp_body_open() in /home/…./wp-content/themes/wp-fanzone/header.php:21 Stack trace: #0 /home/…../wp-includes/template.php(688): require_once() #1 /home/……../wp-includes/template.php(647): load_template(‘/home/……’, true) #2 /home/…/wp-includes/general-template.php(41): locate_template(Array, true) #3 /home/…./wp-content/themes/wp-fanzone/index.php(14): get_header() #4 /home/…../wp-includes/template-loader.php(74): include(‘/home/…….’) #5 /home/…../wp-blog-header.php(19): require_once(‘/home/…’) #6 /home/…./index.php(17): require(‘/home/……’) #7 {main} thrown in /home/……./wp-content/themes/wp-fanzone/header.php on line 21

    Here is the beginning of the “header” file with line 21:
    1 ?php
    2 /**
    3 * The header for our theme.
    4 * Version 3.2
    5 * Displays all of the <head> section and everything up till <div id=”content”>
    6 *
    7 * @package WP FanZone
    8 */
    9 ?><!DOCTYPE html>
    10 <html <?php language_attributes(); ?>>
    11 <head>
    12 <meta charset=”<?php bloginfo( ‘charset’ ); ?>”>
    13 <meta name=”viewport” content=”width=device-width, initial-scale=1″>
    14 <link rel=”profile” href=”https://gmpg.org/xfn/11″&gt;
    15 <link rel=”pingback” href=”<?php bloginfo( ‘pingback_url’ ); ?>”>
    16
    17 <?php wp_head(); ?>
    18 </head>
    19
    20 <body <?php body_class(); ?>>
    21 <?php wp_body_open(); ?>
    22
    23 <div id=”page” class=”hfeed site”>
    24 <?php _e( ‘Passer au contenu’, ‘wp-fanzone’ ); ?>

    There is only line 21 which was added during the update, the rest of the file was not modified.
    Thanks in advance if you can find a solution. In the meantime I have removed line 21 from the “header” file, it works, I have access to my site. But hey, I would like to know what is going on anyway …
    Thank you for your help.
    Cordially
    Laurent

  • The topic ‘Blocage site suite mise à jour 3.2’ is closed to new replies.