Title: wp-load.php data being removed
Last modified: May 19, 2020

---

# wp-load.php data being removed

 *  [Dusk Lab](https://wordpress.org/support/users/dusklab/)
 * (@dusklab)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/wp-load-php-data-being-removed/)
 * Hi, I have an issue with my website where the contents of the wp-load.php file
   is being removed randomly.
 * I have removed a number of plugins to see if that resolves the issue but still
   no luck.
 * The website crashes randomly and each time the contents of that file is empty,
   the site is brought back up by replacing the contents each time.
 * I have had confirmation from host no malware or virus on the server, I’m waiting
   for logs.
 * I have spent days trying to resolve this before posting in here.

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/wp-load-php-data-being-removed/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/wp-load-php-data-being-removed/page/2/?output_format=md)

 *  Thread Starter [Dusk Lab](https://wordpress.org/support/users/dusklab/)
 * (@dusklab)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/wp-load-php-data-being-removed/#post-12855550)
 * [https://outfit78.com/](https://outfit78.com/) – website if needed.
 *  Thread Starter [Dusk Lab](https://wordpress.org/support/users/dusklab/)
 * (@dusklab)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/wp-load-php-data-being-removed/#post-12858726)
 * Fatal error: Uncaught Error: Call to undefined function wp() in /customers/9/
   a/d/outfit78.com/httpd.www/wp-blog-header.php:16 Stack trace: #0 /customers/9/
   a/d/outfit78.com/httpd.www/index.php(17): require() #1 {main} thrown in /customers/
   9/a/d/outfit78.com/httpd.www/wp-blog-header.php on line 16
 * Just happened again.
 *  [magdyz](https://wordpress.org/support/users/magdyz/)
 * (@magdyz)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/wp-load-php-data-being-removed/#post-13007289)
 * I have the same issue !!! why is that?!
 *  [lorenzcrood](https://wordpress.org/support/users/lorenzcrood/)
 * (@lorenzcrood)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/wp-load-php-data-being-removed/#post-13007530)
 * Same problem! What is that?
    -  This reply was modified 5 years, 9 months ago by [lorenzcrood](https://wordpress.org/support/users/lorenzcrood/).
 *  [accomplish12](https://wordpress.org/support/users/accomplish12/)
 * (@accomplish12)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/wp-load-php-data-being-removed/#post-13007701)
 * The solution to this issue is to set the permission of the wp-load file to 444
   after copying the contents back into the file, but you have to do it quickly 
   because whatever is emptying the file is doing it very fast. I had the very same
   issue today
 *  [hpatra22](https://wordpress.org/support/users/hpatra22/)
 * (@hpatra22)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/wp-load-php-data-being-removed/#post-13009679)
 * I am also facing the same problem,I am also tired to downgrade version of WordPress
   but the problem still present. After upgrading WordPress, I am facing this problem.
   Anyone here to provide a permanent solution, I have live site ,can’t provide 
   support to clients.
 * Anyone, please save here…in emergency ASAP.
    -  This reply was modified 5 years, 9 months ago by [hpatra22](https://wordpress.org/support/users/hpatra22/).
 *  [juniortavares](https://wordpress.org/support/users/juniortavares/)
 * (@juniortavares)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/wp-load-php-data-being-removed/#post-13021669)
 * Any Idea ?
 *  Thread Starter [Dusk Lab](https://wordpress.org/support/users/dusklab/)
 * (@dusklab)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/wp-load-php-data-being-removed/#post-13021691)
 * That doesn’t work for me, still having issues.
 * Had my site on maintenance mode and was sat fine, took that off and updated a
   few plugins and it dropped again.
 * I have removed a lot of the plugins and going to run and see if issue is now 
   gone, this is with them fully deleted not just deactivated.
 * Some support on this would be good as it is a very big issue, and dropped so 
   randomly.
 *  [lobocarlos](https://wordpress.org/support/users/lobocarlos/)
 * (@lobocarlos)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/wp-load-php-data-being-removed/#post-13022157)
 * The exact same thing happens to me, the only way to keep my site active has been
   to remove write permissions to the WP-LOAD file.
 * But in doing that I have seen the website load too slow. each section takes about
   20 seconds to open, also within the wordpress panel.
 * Please someone who can help us with a solution to this problem.
 *  [hpatra22](https://wordpress.org/support/users/hpatra22/)
 * (@hpatra22)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/wp-load-php-data-being-removed/#post-13022489)
 * Yes same problem for me also,site is loading very slow due to permission change
   of wp-load.php.what to do no response from official team till now….
 *  Thread Starter [Dusk Lab](https://wordpress.org/support/users/dusklab/)
 * (@dusklab)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/wp-load-php-data-being-removed/#post-13023190)
 * Could anyone share the list of plugins they are running?
 * I will add mine shortly.
 *  [lobocarlos](https://wordpress.org/support/users/lobocarlos/)
 * (@lobocarlos)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/wp-load-php-data-being-removed/#post-13026470)
 * This is that i have installed on my site:
 * -Apus Framework
    -Bookly -Bookly Pro (Add-on) -CMB2 -Contact Form 7 -Duplicate
   Post -MC4WP: Mailchimp for WordPress -McPopup – Popup Form for Mailchimp -NextGEN
   Gallery -Ninja Forms -Page scroll to id -Slider Revolution -WooCommerce -WPBakery
   Page Builder -WP File Manager -WP Fastest Cache
 *  [lobocarlos](https://wordpress.org/support/users/lobocarlos/)
 * (@lobocarlos)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/wp-load-php-data-being-removed/#post-13026613)
 * Another thing that happens to me and it is very strange, is the same website 
   that I have in a subdomain within another server, and there the failure does 
   not present me, but on the server of the main domain it does.
 *  [timhorst](https://wordpress.org/support/users/timhorst/)
 * (@timhorst)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/wp-load-php-data-being-removed/#post-13029141)
 * Hi, I have found the fix, based off yatich his reply in a different thread.
    
   First of all get a brand new wp-load.php [https://github.com/WordPress/WordPress/blob/master/wp-load.php](https://github.com/WordPress/WordPress/blob/master/wp-load.php)
 * Replace that with your current wp-load.php, then go into your cpanel, and go 
   to files.
    Now inside files you select wp-load.php and change the permission 
   from 644 to 444. If you are using directphpmyadmin make sure you select wp-load.
   php and DESELECT “move to trash” and type 444 in the number slot and click change
   permission.
 * This should fix your issue.
 *  Thread Starter [Dusk Lab](https://wordpress.org/support/users/dusklab/)
 * (@dusklab)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/wp-load-php-data-being-removed/#post-13029473)
 * Will this fix the issue or just patch it?

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/wp-load-php-data-being-removed/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/wp-load-php-data-being-removed/page/2/?output_format=md)

The topic ‘wp-load.php data being removed’ is closed to new replies.

## Tags

 * [wp-load.php](https://wordpress.org/support/topic-tag/wp-load-php/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 17 replies
 * 8 participants
 * Last reply from: [timhorst](https://wordpress.org/support/users/timhorst/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/wp-load-php-data-being-removed/page/2/#post-13029940)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
