title: WordPress Theme "ERROR: The theme defines itself as its parent theme. Please check the Template header."
body: <p>In my WordPress Website's Themes Area I am getting strange message - "ERROR: The theme defines itself as its parent theme. Please check the Template header."
  <a href="https://i.stack.imgur.com/5uOF8.png" rel="noreferrer"><img src="https://i.stack.imgur.com/5uOF8.png" alt="enter image description here"></a>
  I Cannot Figure out what is Wrong. Please help me. </p>
  
  <p>The <strong>header.php</strong> files code is given below:</p>
  
  <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head&gt;
    &lt;title&gt;&lt;?php wp_title( '|', true, 'right' ); ?&gt;&lt;/title&gt;
    &lt;?php wp_head(); ?&gt;
    &lt;link rel="stylesheet" href="&lt;?php bloginfo('stylesheet_url'); ?&gt;"/&gt;
    &lt;link rel="icon" type="image/png" href="&lt;?php bloginfo('stylesheet_directory'); ?&gt;/Images/favicon.gif" /&gt;
    &lt;link rel="stylesheet" href="&lt;?php bloginfo('stylesheet_directory'); ?&gt;/Font/font-awesome-4.0.3/css/font-awesome.min.css"&gt;
  &lt;/head&gt;
  &lt;body class="custom-background"&gt;
    &lt;div id="wrap"&gt;
      &lt;div id="header"&gt;
        &lt;a href="&lt;?php echo esc_url( home_url( '/' ) ); ?&gt;"&gt;
              &lt;img src="&lt;?php header_image(); ?&gt;" height="&lt;?php echo get_custom_header()-&gt;height; ?&gt;" width="&lt;?php echo get_custom_header()-&gt;width; ?&gt;" alt="fortuneshop9999" /&gt;
        &lt;/a&gt;
      &lt;/div&gt;
      &lt;!--Google Translator--&gt;
      &lt;div id="google_translate_element"&gt;
              &lt;/div&gt;
              &lt;script type="text/javascript"&gt;
                  function googleTranslateElementInit() {
                      new google.translate.TranslateElement({ pageLanguage: 'nl', layout: google.translate.TranslateElement.InlineLayout.SIMPLE }, 'google_translate_element');
                  }
              &lt;/script&gt;
              &lt;script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"&gt;&lt;/script&gt;
      &lt;!--End--&gt;
      &lt;div id="nav"&gt;
        &lt;div&gt;
          &lt;ul&gt;
            &lt;?php wp_nav_menu( array( 'theme_location' =&gt; 'main-menu', 'container' =&gt; '', 'menu_class' =&gt; 'mainMenu' ) );?&gt;
          &lt;/ul&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;div id="subnav"&gt;
        &lt;ul&gt;
          &lt;li class="menu-facebook"&gt;
            &lt;a href="https://www.facebook.com" target="_blank"&gt;Facebook&lt;/a&gt;
          &lt;/li&gt;
          &lt;li class="menu-twitter"&gt;
            &lt;a href="http://www.twitter.com" target="_blank"&gt;Twitter&lt;/a&gt;
          &lt;/li&gt;
          &lt;li class="menu-email"&gt;
            &lt;a href="mailto:fortuneshop9999@gmail.com" target="_blank"&gt;Email&lt;/a&gt;
          &lt;/li&gt;
          &lt;li class="menu-pinterest"&gt;
            &lt;a href="http://www.pinterest.com" target="_blank"&gt;Pinterest&lt;/a&gt;
          &lt;/li&gt;
        &lt;/ul&gt;
        &lt;form class="search" method="get" id="searchform" action="&lt;?php bloginfo('home'); ?&gt;/"&gt;
          &lt;input type="text" value="&lt;?php echo wp_specialchars($s, 1); ?&gt;" name="s" id="s" placeholder="Search here"/&gt;
          &lt;input type="submit" id="submit" value=""/&gt;
        &lt;/form&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>The <strong>style.css</strong> code is:</p>
  
  <pre><code>    /*
   Theme Name:   Yogi7
   Theme URI:    http://www.myotcworld.com/website-package.aspx
   Author:       Yogi
   Author URI:   http://www.myotcworld.com/website-package.aspx
   Template:     yogi7
   Version:      1.0.0
  */
  body.custom-background {
      background-attachment: scroll;
      background: url("Images/seamless-stone-background.jpg" ); /*background:#FDE6E0;*/
      background-position: left top;
      background-repeat: repeat;
  }
  
  body {
      background: none repeat scroll 0 0 #FFFFFF;
      color: #4A4A4A;
      font-family: "Times New Roman",Times,serif;
      font-size: 14px;
      margin: 0 auto 30px;
      padding: 0;
  }
  
  #header {
      width: 960px;
      height: 285px;
      background: url("Images/header.png") no-repeat;
  }
  ....
  </code></pre>