title: Parse error: syntax error, unexpected '==' (T_IS_EQUAL), expecting ')'
body: <p>I'm getting the following error when WordPress theme is installed:</p>
  
  <p>Parse error: syntax error, unexpected '==' (T_IS_EQUAL), expecting ')' in /home.....header.php on line 51</p>
  
  <p>and this is the line 51 code:</p>
  
  <pre><code>if( !empty( $onepage == 'one_page' ) || !empty($corpex_opt ['corpex_header_layout'] == '3' )){ ...
  </code></pre>
  
  <p>I will be happy if someone help.</p>