PHP致命错误:require():无法打开所需的'/ mnt / web112 / c3 / 44/58344944 / htdocs / WordPress_SecureMode_01 / wp-includes / random_c

I'll be honest, I have very little programming experience.. Some person offered me to make a website for my mom's dog grooming website and it all went good for a year or so and just recently the page doesnt do what is was supposed to do. I've tried to reload to a backup that my hosting generates from time to time, I guess. SO I've made it to a logfile and this came up;

24.05.2018 17:18:39 kluifje.info [client 143.179.63.0] PHP Fatal error: require(): Failed opening required '/mnt/web112/c3/44/58344944/htdocs/WordPress_SecureMode_01/wp-includes/random_compat/random.php' (include_path='.:/opt/RZphp56/includes') in /mnt/web112/c3/44/58344944/htdocs/WordPress_SecureMode_01/wp-includes/compat.php on line 435

This is the last line of the log, where it all started with, after I tried to load a backup it gave me this

24.05.2018 12:43:27 kluifje.info [client 212.78.74.0] PHP Fatal error: require(): Failed opening required '/mnt/web112/c3/44/58344944/htdocs/WordPress_SecureMode_01/wp-includes/random_compat/random.php' (include_path='.:/opt/RZphp56/includes') in /mnt/web112/c3/44/58344944/htdocs/WordPress_SecureMode_01/wp-includes/compat.php on line 435 24.05.2018 12:48:33 kluifje.info [client 212.78.74.0] AH01215: PHP Warning: require(/mnt/web112/c3/44/58344944/htdocs/WordPress_SecureMode_01/wp-includes/random_compat/random.php): failed to open stream: No such file or directory in /mnt/web112/c3/44/58344944/htdocs/WordPress_SecureMode_01/wp-includes/compat.php on line 435: /home/strato/http/premium/rid/49/44/58344944/htdocs/WordPress_SecureMode_01/wp-login.php 24.05.2018 12:48:33 kluifje.info [client 212.78.74.0] AH01215: PHP Fatal error: require(): Failed opening required '/mnt/web112/c3/44/58344944/htdocs/WordPress_SecureMode_01/wp-includes/random_compat/random.php' (include_path='.:/opt/RZphp56/includes') in /mnt/web112/c3/44/58344944/htdocs/WordPress_SecureMode_01/wp-includes/compat.php on line 435: /home/strato/http/premium/rid/49/44/58344944/htdocs/WordPress_SecureMode_01/wp-login.php

But I switched back to the most recent backup, so I guess the first blockquote should be back .

Can anyone please help me figure this out? My mom's kinda f*cked because she's losing customers. Might find a decent loyal person to maintain her page..

I am familiar with ftp clients so I should be able to download the files and put them back in if needed.

Sounds like your hosting provider updated your wordpress install. This will happen from time to time (depending on hosting service). Were there any modifications (customizations) to the original wordpress site?

This error is specifically telling you that there is a missing file, that is required by the application to run, and that the loader cannot find it.

In php, there are 2 different ways to include files, requires (require, require_once) and includes (include, include_once). These tell your application to look here, and bring the contents of this page into the current runtime.

Require is different than includes because if the required file cannot be found, it will crash your application, as you see in your logs.

Check out this link on requires.

Here is the file that your system is trying to locate on github random.php.

My best guess is that was probably there was an update by your hosting provider that was corrupted for some reason. You can probably work with them to re-install your application.