Title: Two PHP files keep deleting themselves!
Last modified: August 30, 2016

---

# Two PHP files keep deleting themselves!

 *  [khalishi](https://wordpress.org/support/users/khalishi/)
 * (@khalishi)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/two-php-files-keep-deleting-themselves/)
 * I have two files that keep deleting themselves on a new WordPress site I’ve created.
    1. /wp-includes/class-oembed.php
    2. /wp-content/plugins/jetpack/class.media-summary.php
 * All my plugins are up-to-date, and most are similar to other sites I run that
   don’t have this issue. For plugins that are different, I’ve tried running alternative
   plugins, no change. I’ve reinstalled WordPress from scratch, no change.
    I enabled
   debugging, but it just tells me when the issue starts, not what is deleting the
   files. Any ideas on how I can try and work out what is causing just these two
   files from being deleted?

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

 *  Thread Starter [khalishi](https://wordpress.org/support/users/khalishi/)
 * (@khalishi)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/two-php-files-keep-deleting-themselves/#post-6771968)
 * Oh, forgot to add, when I add these files back in, everything works again fine
   until it happens again.
 *  [Jeffrey de Wit](https://wordpress.org/support/users/cheffheid/)
 * (@cheffheid)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/two-php-files-keep-deleting-themselves/#post-6771988)
 * Do you have a copy of the site running locally, or can you get this set up to
   see if it happens there as well?
 * My initial thought for what’s causing this is something the host has set up on
   the server and so setting the site up locally will help you confirm that.
 * We’ve run into some issues before where the host was reverting the .htaccess 
   file to the default every time it was changed (when we added redirects, for example).
   It’s possible that something similar is happening for this site with these files
   and so I’d consider contacting the hosting company.

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

The topic ‘Two PHP files keep deleting themselves!’ is closed to new replies.

## Tags

 * [delete](https://wordpress.org/support/topic-tag/delete/)
 * [file](https://wordpress.org/support/topic-tag/file/)
 * [oEmbed](https://wordpress.org/support/topic-tag/oembed/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Jeffrey de Wit](https://wordpress.org/support/users/cheffheid/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/two-php-files-keep-deleting-themselves/#post-6771988)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
