Title: Parse Error: Syntax Error
Last modified: December 1, 2016

---

# Parse Error: Syntax Error

 *  [annahater](https://wordpress.org/support/users/annahater/)
 * (@annahater)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-134/)
 * Hey! Just got the same issue. I tried to inactivate all plugins, change my theme
   and manually reinstall WordPress from myPHP, but the issue remains. Nothing works,
   and I’m worried I might have destroyed something beyond repair. Starting to panic
   over here.
 * My domain is whinar.se, and this is all that’s visible right now:
 * _Parse error: syntax error, unexpected ”; ‘ (T\_CONSTANT\_ENCAPSED\_STRING), 
   expecting ‘)’ in /customers/6/9/6/whinar.se/httpd.www/wp-settings.php on line
   31_
 * I also tried to edit that specifik line in the document affected, but the issue
   remains…
    -  This topic was modified 9 years, 5 months ago by [annahater](https://wordpress.org/support/users/annahater/).
    -  This topic was modified 9 years, 5 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).

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

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [9 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-134/#post-8503217)
 * I split this to a new thread.
 * Anyhow, DO NOT EDIT CORE FILES. Have you previously edited that file?
 *  Thread Starter [annahater](https://wordpress.org/support/users/annahater/)
 * (@annahater)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-134/#post-8503223)
 * I noticed that, thank you! 🙂
 * I have never edited that file before, no. I actually did edit it just now, before
   writing my post below the other thread you were replying in. I tried to remove
   the unexpected ; and replace it with a ), but nothing happened.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [9 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-134/#post-8503230)
 * What do you have for line 31 of that file? I have
 * `require( ABSPATH . WPINC . '/version.php' );`
 *  Thread Starter [annahater](https://wordpress.org/support/users/annahater/)
 * (@annahater)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-134/#post-8503235)
 * This is what I have on line 31:
 *  $ff .= substr(pack(‘H*’, sha1($fa.$ff.$fe)), 0, $n)
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [9 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-134/#post-8503249)
 * You’ve been hacked.
 * Remain calm and carefully follow [this guide](https://codex.wordpress.org/FAQ_My_site_was_hacked).
   When you’re done, you may want to implement some (if not all) of [the recommended security measures](https://codex.wordpress.org/Hardening_WordPress).
 * If you’re unable to clean your site(s) successfully, there are reputable organizations
   that can clean your sites for you. Sucuri and Wordfence are two.
 *  Thread Starter [annahater](https://wordpress.org/support/users/annahater/)
 * (@annahater)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-134/#post-8503263)
 * Oh lord… Thank you for your help.

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

The topic ‘Parse Error: Syntax Error’ is closed to new replies.

## Tags

 * [hacked](https://wordpress.org/support/topic-tag/hacked/)
 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)
 * [wp-settings.php](https://wordpress.org/support/topic-tag/wp-settings-php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 2 participants
 * Last reply from: [annahater](https://wordpress.org/support/users/annahater/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-134/#post-8503263)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
