Fatal error: Call to undefined function wp_cache_get_last_changed()
-
I was trying to change the default video embed size settings in functions.php, and seem to have broken things somehow. When the provided code didn’t work, I deleted it and saved, but accidentally also deleted the line near the top about
require( ABSPATH . WPINC . '/option.php' );
I reloaded my WordPress index page, saw an error and realized what happened, so I went to one of my other newly updated copies of WordPress and saved functions.php. I uploaded it to the site I was working on, but when I reloaded the WordPress index page I was still getting an error:
Fatal error: Call to undefined function wp_cache_get_last_changed() in /home/flying/public_html/wp-includes/class-wp-term-query.php on line 668
I tried googling that, but all the answers seemed to indicate that the user had installed a cache plug-in, but I don’t have any cache plug-ins on any of my sites.Any idea what went wrong, and how to fix it?
- The topic ‘Fatal error: Call to undefined function wp_cache_get_last_changed()’ is closed to new replies.