Title: Error on my site
Last modified: July 29, 2019

---

# Error on my site

 *  Resolved [ivana2201](https://wordpress.org/support/users/ivana2201/)
 * (@ivana2201)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/compat-php/)
 * Hi all,
 * I have a problem with the website, after downtime for 12 hours my site shows 
   error :
 * Warning: require(/home/…/public_html/wp-includes/sodium_compat/autoload.php):
   failed to open stream: No such file or directory in /home/…/public_html/wp-includes/
   compat.php on line 447
 * Warning: require(/home/…/public_html/wp-includes/sodium_compat/autoload.php):
   failed to open stream: No such file or directory in /home/…/public_html/wp-includes/
   compat.php on line 447
 * Fatal error: require(): Failed opening required ‘/home/…/public_html/wp-includes/
   sodium_compat/autoload.php’ (include_path=’.:/opt/alt/php72/usr/share/pear’) 
   in /home/angeluss/public_html/wp-includes/compat.php on line 447
 * I have tried change php version but nothing happened.(php is on 7.2)
 * Thank you,
 * Regards
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcompat-php%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Davood Denavi](https://wordpress.org/support/users/binarywc/)
 * (@binarywc)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/compat-php/#post-11777637)
 * Sounds like some wordpress files have been removed from the server.. including
   includes/compat.php. You’ll need to download them from [https://wordpress.org/download/](https://wordpress.org/download/)
   and then re-upload them via FTP to resolve the issue.
 * Hope this helps get you on the right track. Once you have found a solution please
   tag the thread as resolved.
 *  Thread Starter [ivana2201](https://wordpress.org/support/users/ivana2201/)
 * (@ivana2201)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/compat-php/#post-11777835)
 * Hi there,
 * Thank you for the reply,
 * Now the problem is that someone deleted database so I can’t try solution that
   you recommend, but thank you for the reply..
 * Regards.
 * Ivana
 *  [Davood Denavi](https://wordpress.org/support/users/binarywc/)
 * (@binarywc)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/compat-php/#post-11778232)
 * In this case I’d suggest checking with your host, they may have a backup of everything
   from before it went dow//n.
 *  Thread Starter [ivana2201](https://wordpress.org/support/users/ivana2201/)
 * (@ivana2201)
 * [6 years, 9 months ago](https://wordpress.org/support/topic/compat-php/#post-11778680)
 * Hi,
 * Yes I did but then the problem was that backup(R1 Soft backup) manager won’t 
   open and after I finally get in, i tried to restore database and keep getting
   errors from manager..
 * But finally i get to restore database and site is up and running..
 * Thank you again for help,
 * Ivana

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

The topic ‘Error on my site’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [ivana2201](https://wordpress.org/support/users/ivana2201/)
 * Last activity: [6 years, 9 months ago](https://wordpress.org/support/topic/compat-php/#post-11778680)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
