White page and log fatal error
-
Hello,
I manage the https://sophiemagnaud.com/ site under wordpress which no longer works (blank page on firefox, and error 500 according to google chrome), and I have not made any modification for several months.
I have tried a lot of things, but nothing works, suddenly I call for help! ??Wordpress version: 5 at least (but I no longer have access to the back office!)
PHP Version: 7.0
OVH datacentre: Gravelines 1 (not Strasbourg!)—————
1-In https://sophiemagnaud.com/ I have this message:Fatal error: Class ‘WP_REST_Posts_Controller’ not found in /home/sophiemagn/www/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php on line 17
Fatal error: Uncaught Error: Call to undefined function esc_attr() in /home/sophiemagn/www/wp-includes/general-template.php:3951 Stack trace: #0 /home/sophiemagn/www/wp-includes/functions.php(3411): get_language_attributes() #1 /home/sophiemagn/www/wp-includes/functions.php(3352): _default_wp_die_handler(‘<div class=”wp-…’, ‘WordPress &rsaq…’, Array) #2 /home/sophiemagn/www/wp-includes/class-wp-fatal-error-handler.php(228): wp_die(Object(WP_Error), ”, Array) #3 /home/sophiemagn/www/wp-includes/class-wp-fatal-error-handler.php(147): WP_Fatal_Error_Handler->display_default_error_template(Array, false) #4 /home/sophiemagn/www/wp-includes/class-wp-fatal-error-handler.php(52): WP_Fatal_Error_Handler->display_error_template(Array, false) #5 [internal function]: WP_Fatal_Error_Handler->handle() #6 {main} thrown in /home/sophiemagn/www/wp-includes/general-template.php on line 3951
and line 17 of /home/sophiemagn/www/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php I have this:
class WP_REST_Attachments_Controller extends WP_REST_Posts_Controller {—————
2- In wp-content/debug.log I have this:[30-Apr-2021 09:02:34 UTC] PHP Fatal error: Class ‘WP_REST_Posts_Controller’ not found in /home/sophiemagn/www/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php on line 17
[30-Apr-2021 09:02:34 UTC] PHP Fatal error: Uncaught Error: Call to undefined function esc_attr() in /home/sophiemagn/www/wp-includes/general-template.php:3951
Stack trace:
#0 /home/sophiemagn/www/wp-includes/functions.php(3411): get_language_attributes()
#1 /home/sophiemagn/www/wp-includes/functions.php(3352): _default_wp_die_handler(‘<div class=”wp-…’, ‘WordPress &rsaq…’, Array)
#2 /home/sophiemagn/www/wp-includes/class-wp-fatal-error-handler.php(228): wp_die(Object(WP_Error), ”, Array)
#3 /home/sophiemagn/www/wp-includes/class-wp-fatal-error-handler.php(147): WP_Fatal_Error_Handler->display_default_error_template(Array, false)
#4 /home/sophiemagn/www/wp-includes/class-wp-fatal-error-handler.php(52): WP_Fatal_Error_Handler->display_error_template(Array, false)
#5 [internal function]: WP_Fatal_Error_Handler->handle()
#6 {main}
thrown in /home/sophiemagn/www/wp-includes/general-template.php on line 3951
[30-Apr-2021 09:02:35 UTC] PHP Fatal error: Class ‘WP_REST_Posts_Controller’ not found in /home/sophiemagn/www/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php on line 17
[30-Apr-2021 09:02:35 UTC] PHP Fatal error: Uncaught Error: Call to undefined function esc_attr() in /home/sophiemagn/www/wp-includes/general-template.php:3951
Stack trace:
#0 /home/sophiemagn/www/wp-includes/functions.php(3411): get_language_attributes()
#1 /home/sophiemagn/www/wp-includes/functions.php(3352): _default_wp_die_handler(‘<div class=”wp-…’, ‘WordPress &rsaq…’, Array)
#2 /home/sophiemagn/www/wp-includes/class-wp-fatal-error-handler.php(228): wp_die(Object(WP_Error), ”, Array)
#3 /home/sophiemagn/www/wp-includes/class-wp-fatal-error-handler.php(147): WP_Fatal_Error_Handler->display_default_error_template(Array, false)
#4 /home/sophiemagn/www/wp-includes/class-wp-fatal-error-handler.php(52): WP_Fatal_Error_Handler->display_error_template(Array, false)
#5 [internal function]: WP_Fatal_Error_Handler->handle()
#6 {main}
thrown in /home/sophiemagn/www/wp-includes/general-template.php on line 3951
[30-Apr-2021 09:02:36 UTC] PHP Fatal error: Class ‘WP_REST_Posts_Controller’ not found in /home/sophiemagn/www/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php on line 17
[30-Apr-2021 09:02:36 UTC] PHP Fatal error: Uncaught Error: Call to undefined function esc_attr() in /home/sophiemagn/www/wp-includes/general-template.php:3951
Stack trace:
#0 /home/sophiemagn/www/wp-includes/functions.php(3411): get_language_attributes()
#1 /home/sophiemagn/www/wp-includes/functions.php(3352): _default_wp_die_handler(‘<div class=”wp-…’, ‘WordPress &rsaq…’, Array)
#2 /home/sophiemagn/www/wp-includes/class-wp-fatal-error-handler.php(228): wp_die(Object(WP_Error), ”, Array)
#3 /home/sophiemagn/www/wp-includes/class-wp-fatal-error-handler.php(147): WP_Fatal_Error_Handler->display_default_error_template(Array, false)
#4 /home/sophiemagn/www/wp-includes/class-wp-fatal-error-handler.php(52): WP_Fatal_Error_Handler->display_error_template(Array, false)
#5 [internal function]: WP_Fatal_Error_Handler->handle()
#6 {main}
thrown in /home/sophiemagn/www/wp-includes/general-template.php on line 3951
[30-Apr-2021 09:02:52 UTC] PHP Fatal error: Class ‘WP_REST_Posts_Controller’ not found in /home/sophiemagn/www/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php on line 17
[30-Apr-2021 09:02:52 UTC] PHP Fatal error: Uncaught Error: Call to undefined function esc_attr() in /home/sophiemagn/www/wp-includes/general-template.php:3951
Stack trace:
#0 /home/sophiemagn/www/wp-includes/functions.php(3411): get_language_attributes()
#1 /home/sophiemagn/www/wp-includes/functions.php(3352): _default_wp_die_handler(‘<div class=”wp-…’, ‘WordPress &rsaq…’, Array)
#2 /home/sophiemagn/www/wp-includes/class-wp-fatal-error-handler.php(228): wp_die(Object(WP_Error), ”, Array)
#3 /home/sophiemagn/www/wp-includes/class-wp-fatal-error-handler.php(147): WP_Fatal_Error_Handler->display_default_error_template(Array, false)
#4 /home/sophiemagn/www/wp-includes/class-wp-fatal-error-handler.php(52): WP_Fatal_Error_Handler->display_error_template(Array, false)
#5 [internal function]: WP_Fatal_Error_Handler->handle()
#6 {main}
thrown in /home/sophiemagn/www/wp-includes/general-template.php on line 3951
[30-Apr-2021 09:02:54 UTC] PHP Fatal error: Class ‘WP_REST_Posts_Controller’ not found in /home/sophiemagn/www/wp-includes/rest-api/endpoints/class-wp-rest-attachments-controller.php on line 17
[30-Apr-2021 09:02:54 UTC] PHP Fatal error: Uncaught Error: Call to undefined function esc_attr() in /home/sophiemagn/www/wp-includes/general-template.php:3951
Stack trace:
#0 /home/sophiemagn/www/wp-includes/functions.php(3411): get_language_attributes()
#1 /home/sophiemagn/www/wp-includes/functions.php(3352): _default_wp_die_handler(‘<div class=”wp-…’, ‘WordPress &rsaq…’, Array)
#2 /home/sophiemagn/www/wp-includes/class-wp-fatal-error-handler.php(228): wp_die(Object(WP_Error), ”, Array)
#3 /home/sophiemagn/www/wp-includes/class-wp-fatal-error-handler.php(147): WP_Fatal_Error_Handler->display_default_error_template(Array, false)
#4 /home/sophiemagn/www/wp-includes/class-wp-fatal-error-handler.php(52): WP_Fatal_Error_Handler->display_error_template(Array, false)
#5 [internal function]: WP_Fatal_Error_Handler->handle()
#6 {main}
thrown in /home/sophiemagn/www/wp-includes/general-template.php on line 3951—————
For information :1- I tried, but without any success, to:
– rename the .htaccess to .htaccess_bak, see if it was bugged
– deactivate all plugins and themes used from FTP (by renaming them with _old)
– restore a backup of -14 days
– restore database backup2- I notice that:
– Disk space at OVJH was full: 986.11 MB / 1000 MB ??? Which seems very strange to me because this site is only ten pages long with very few images and media. I deleted via ftp some larger files like old backups and deleted the entire backupwordpress folder from OVH FTP> Ok space is no longer full
– in the stats: on March 13 I had a number of visits multiplied by around 5Could you please help me, because I do not understand the failure?
Thanks in advance !
Fred griotThe page I need help with: [log in to see the link]
- The topic ‘White page and log fatal error’ is closed to new replies.