0 votes
by (1.5k points)

I am getting following error on my WordPress website.

Warning: require_once(/home/username/public_html/example.com/site/wp-includes/class-wp-object-cache.php): failed to open stream: No such file or directory in /home/username/public_html/example.com/site/wp-includes/cache.php on line 12

1 Answer

0 votes
by (10.3k points)

This kind of problem arises due to interrupted WordPress update process. You should replace core files with fresh one. Just download latest WordPress from official site http://wodpress.org/ and upload them on your website.

Just care about following files & folders. They should keep as it is.

  1. wp-config.php file
  2. wp-content folder
  3. .htaccess
We recommended to take full backup (files-folder & database) before applying above changes.