Title: Parse error: syntax error, unexpected T_STRING
Last modified: August 21, 2016

---

# Parse error: syntax error, unexpected T_STRING

 *  Resolved [ingrid71](https://wordpress.org/support/users/ingrid71/)
 * (@ingrid71)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-43/)
 * [http://franszekhuis.nl](http://franszekhuis.nl)
 * When I try to log in I get this message: Parse error: syntax error, unexpected
   T_STRING in /var/www/vhosts/franszekhuis.nl/httpdocs/wp-admin/includes/media.
   php on line 2641
    And underneath you can see what is written on those lines. 
   Can anyone help me to solve this problem?
 * I’ve reinstalled suffusion and wordpress 3.5.1 But it didn’t do anything.
 *     ```
       if ( ! empGxwYWRkaW5nPSIwIiBjZWxsc3BhY2luZz0i
   
       2641.
       MCIgYm9yZGVyPSIwIiB3aWR0aD0iMTAwJSI+CiAgICAgICAgICAgICAgICAg
   
       2642.
       ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPHRib2R5
   
       2643.
       Pjx0cj4KICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
   
       2644.
       ICAgICAgICAgICAgICAgICAgICAgPHRkIHZhbGlnbj0idG9wIiBjb2xzcGFu
   
       2645.
       PSIxMiIgd2lkdGg9IjEwMC4wJSIgY2xhc3M9IiIgc3R5bGU9IndpZHRoOjEw
   
       2646.
       MC4wJTsgdGV4dC1hbGlnbjogbGVmdDsgcGFkZGluZzogMDsgZm9udC1mYW1p
   
       2647.
       bHk6IHNhbnMtc2VyaWY7IGZvbnQtc2l6ZTogMTVweDsgbGluZS1oZWlnaHQ6
   
       2648.
       IDEuNWVtOyBjb2xvcjogIzQ0NDQ0NDsgIj4KICAgICAgICAgICAgICAgICAg
   
       2649.
       ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg
   
       2650.
       IDxkaXYgY2xhc3M9IndpZGdldC1zcGFuIHdpZGdldC10eXBlLWVt
       ```
   

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-43/#post-4232979)
 * It looks like your site was hacked. You need to start working your way through
   these resources:
    [http://codex.wordpress.org/FAQ_My_site_was_hacked](http://codex.wordpress.org/FAQ_My_site_was_hacked)
   [http://wordpress.org/support/topic/268083#post-1065779](http://wordpress.org/support/topic/268083#post-1065779)
   [http://smackdown.blogsblogsblogs.com/2008/06/24/how-to-completely-clean-your-hacked-wordpress-installation/](http://smackdown.blogsblogsblogs.com/2008/06/24/how-to-completely-clean-your-hacked-wordpress-installation/)
   [http://ottopress.com/2009/hacked-wordpress-backdoors/](http://ottopress.com/2009/hacked-wordpress-backdoors/)
 * Anything less will probably result in the hacker walking straight back into your
   site again.
 * Additional Resources:
    [Hardening WordPress](http://codex.wordpress.org/Hardening_WordPress)
   [http://sitecheck.sucuri.net/scanner/](http://sitecheck.sucuri.net/scanner/) 
   [http://www.unmaskparasites.com/](http://www.unmaskparasites.com/) [http://blog.sucuri.net/2012/03/wordpress-understanding-its-true-vulnerability.html](http://blog.sucuri.net/2012/03/wordpress-understanding-its-true-vulnerability.html)
 * **Edit**: Oh – a split second multi-posting! 😉
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [12 years, 7 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-43/#post-4232980)
 * **Edit:** Esmi and I posted almost at the same time. Almost. 😉
 * I’ve fixed your post, careful with posting links and using the code button.
 * From what you’ve posted it appears to me that you are hacked.
 * [http://sitecheck.sucuri.net/results/franszekhuis.nl/](http://sitecheck.sucuri.net/results/franszekhuis.nl/)
 * You need to start working your way through these resources:
    [http://codex.wordpress.org/FAQ_My_site_was_hacked](http://codex.wordpress.org/FAQ_My_site_was_hacked)
   [http://wordpress.org/support/topic/268083#post-1065779](http://wordpress.org/support/topic/268083#post-1065779)
   [http://smackdown.blogsblogsblogs.com/2008/06/24/how-to-completely-clean-your-hacked-wordpress-installation/](http://smackdown.blogsblogsblogs.com/2008/06/24/how-to-completely-clean-your-hacked-wordpress-installation/)
   [http://ottopress.com/2009/hacked-wordpress-backdoors/](http://ottopress.com/2009/hacked-wordpress-backdoors/)
 * Anything less will probably result in the hacker walking straight back into your
   site again.
 * Additional Resources:
    [Hardening WordPress](http://codex.wordpress.org/Hardening_WordPress)
   [http://sitecheck.sucuri.net/scanner/](http://sitecheck.sucuri.net/scanner/) 
   [http://www.unmaskparasites.com/](http://www.unmaskparasites.com/) [http://blog.sucuri.net/2012/03/wordpress-understanding-its-true-vulnerability.html](http://blog.sucuri.net/2012/03/wordpress-understanding-its-true-vulnerability.html)

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

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

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_string-43/#post-4232980)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
