title: wordpress wp-blog-header.php on line 16
body: <p>I have a site made in wordpress and from one moment to the next it does not work. You can not see the site as before, so I investigate and I get the following error.</p>
  
  <p>error“Call to undefined function wp() in /home……..public_html/wp-blog-header.php on line 16”
  how can i fix it?
  regards</p>
  
  <p>
  
  <p>if ( !isset($wp_did_header) ) {</p>
  
  <pre><code>$wp_did_header = true;
  
  // Load the WordPress library.
  require_once( dirname(__FILE__) . '/wp-load.php' );
  
  // Set up the WordPress query.
  wp();
  
  // Load the theme template.
  require_once( ABSPATH . WPINC . '/template-loader.php' );
  </code></pre>
  
  <p>}</p>