Title: Parse error: syntax error, unexpected &#039;
Last modified: August 21, 2016

---

# Parse error: syntax error, unexpected '

 *  Resolved [Zet Watson](https://wordpress.org/support/users/zet-watson/)
 * (@zet-watson)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-84/)
 * can not get into my webpage , this error is shown
 * Parse error: syntax error, unexpected ‘<‘ in /home/zetwat5/public_html/index.
   php on line 18
 * what should i do ?

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [WPWhiteSecurity](https://wordpress.org/support/users/wpwhitesecurity/)
 * (@wpwhitesecurity)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-84/#post-3901640)
 * Hi Zet, did you modify the WordPress file index.php?
 * Can you login to the WP-admin section?
 * It seems that the WordPress index.php file got tampered with.
 *  Thread Starter [Zet Watson](https://wordpress.org/support/users/zet-watson/)
 * (@zet-watson)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-84/#post-3901653)
 * Do you mean can i log into my dashboard ?
 * where or how can i fix the WordPress index.php file ?
 * Thank you so far
 * Zet
 *  [WPWhiteSecurity](https://wordpress.org/support/users/wpwhitesecurity/)
 * (@wpwhitesecurity)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-84/#post-3901654)
 * Let’s start step by step.
 * Can you login to your WordPress dashboard?
 * Do you use FTP or can you access the WordPress files from the hosting provider
   CPanel?
 *  Thread Starter [Zet Watson](https://wordpress.org/support/users/zet-watson/)
 * (@zet-watson)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-84/#post-3901655)
 * yes i am logged in on my control panel (Dashboard)
 *  [WPWhiteSecurity](https://wordpress.org/support/users/wpwhitesecurity/)
 * (@wpwhitesecurity)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-84/#post-3901656)
 * Do you know how to use FTP or the CPanel to access the WordPress files?
 * If yes, you should download a copy of the file index.php and copy the code here.
 *  Thread Starter [Zet Watson](https://wordpress.org/support/users/zet-watson/)
 * (@zet-watson)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-84/#post-3901657)
 * it seems this issue is resolved , thank you for your help…
 *  [WPWhiteSecurity](https://wordpress.org/support/users/wpwhitesecurity/)
 * (@wpwhitesecurity)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-84/#post-3901658)
 * What was it?
 *  Thread Starter [Zet Watson](https://wordpress.org/support/users/zet-watson/)
 * (@zet-watson)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-84/#post-3901659)
 * clueless…what happened was when i tried to connect to my webpage directly through
   my bookmarks i could not open the website. That gave me the
 * Parse error: syntax error, unexpected ‘<‘ in /home/zetwat5/public_html/index.
   php on line 18
 * through my WordPress Dashboard i could go to view your site and then could open
   my website… i did change my admin password , unchecked anyone can register. I
   also changed my log in password…

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Parse error: syntax error, unexpected '’ is closed to new replies.

## Tags

 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)
 * [syntax error](https://wordpress.org/support/topic-tag/syntax-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 8 replies
 * 2 participants
 * Last reply from: [Zet Watson](https://wordpress.org/support/users/zet-watson/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-84/#post-3901659)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
