title: Fatal error: Call to undefined function get_header() in /home/theun3wr/public_html/author.php on line 11
body: <p>Since I shifted to multi-domain hosting in December, I'm plagued with errors on my website. There have been so many issues that I've lost track of them. And every day I end up with a shocking new error that I'm clueless about.</p>
  
  <p>One of the most recent ones being not able to access author profile on my website - <a href="http://www.theunbiasedblog.com/author/nikhil" rel="nofollow">http://www.theunbiasedblog.com/author/nikhil</a></p>
  
  <p>Rest of the website is working alright except these things:</p>
  
  <ol>
  <li><p>Author profiles (Mentioned Above) this error</p>
  
  <pre><code>Fatal error: Call to undefined function get_header() in /home/theun3wr/public_html/author.php on line 11
  </code></pre></li>
  <li><p>Tag links on the site (<a href="http://www.theunbiasedblog.com/tag/windows" rel="nofollow">http://www.theunbiasedblog.com/tag/windows</a>) give this error</p>
  
  <pre><code>Fatal error: Call to undefined function get_header() in /home/theun3wr/public_html/tag.php on line 11
  </code></pre></li>
  <li><p>Category links on the site (theunbiasedblogcom/category/tech)</p>
  
  <pre><code>Fatal error: Call to undefined function get_header() in /home/theun3wr/public_html/category.php on line 11
  </code></pre></li>
  </ol>
  
  <p>I'm not able to figure out what to do with <code>get_header()</code> that is on line 11 of all these non functional links. As a result I've 30K 404 errors from google.</p>
  
  <p>@prakashrao
  In wp-includes/general-template.php</p>
  
  <p>I've this -</p>
  
  <pre><code> /**
   * Load header template.
   *
   * Includes the header template for a theme or if a name is specified then a
   * specialised header will be included.
   *
   * For the parameter, if the file is called "header-special.php" then specify
   * "special".
   *
   * @since 1.5.0
   *
   * @param string $name The name of the specialised header.
   */
    function get_header( $name = null ) {
    /**
   * Fires before the header template file is loaded.
   *
   * The hook allows a specific header template file to be used in place of the
   * default header template file. If your file is called header-new.php,
   * you would specify the filename in the hook as get_header( 'new' ).
   *
   * @since 2.1.0
   * @since 2.8.0 $name parameter added.
   *
   * @param string $name Name of the specific header file to use.
   */
  do_action( 'get_header', $name );
  
  $templates = array();
  $name = (string) $name;
  if ( '' !== $name )
      $templates[] = "header-{$name}.php";
  
  $templates[] = 'header.php';
  
  // Backward compat code will be removed in a future release
  if ('' == locate_template($templates, true))
      load_template( ABSPATH . WPINC . '/theme-compat/header.php');
   }
  </code></pre>