How to fix the following fatal error
-
My site did not work when I typed its name. it was really simple wordpress site with only 1 post.
It directed me to debug mode.
I set the debug to true in wp-config file
And I got the following message (I replaced my user name and my site name below):Fatal error: Uncaught Error: Class ‘WP_Object_Cache’ not found in /home/ my user name /public_html/my site name/wp-includes/cache.php:156 Stack trace: #0 /home/my user name/public_html/my site name/wp-includes/load.php(580): wp_cache_init() #1 /home/my user name/public_html/my site name/wp-settings.php(138): wp_start_object_cache() #2 /home/my user name/public_html/my site name/wp-config.php(90): require_once(‘/home/ my user name…’) #3 /home/my user name/public_html/my site name/wp-load.php(37): require_once(‘/home/ my user name…’) #4 /home/my user name/public_html/my site name/wp-blog-header.php(13): require_once(‘/home/ my user name…’) #5 /home/my user name/public_html/my site name/index.php(22): require(‘/home/ my user name…’) #6 {main} thrown in /home/my user name/public_html/my site name/wp-includes/cache.php on line 156
Can you tell me how can I fix this? Is this first of all 6 errors or 1? As it goes up to #6. If 6, even if you cannot help with all, I appreciate if you could help wth any.
So if I fix these all, will my site be ok?
Why did this happen?
- The topic ‘How to fix the following fatal error’ is closed to new replies.