To your second question, there is a file called object-cache.php under the wp-content
Delete or rename that file. It’s used by caching plugins normally. But it will cause the exact error message you’re getting if there are no caching plugins active that override wp_cache_init.
Write
(‘DISABLE_CACHE’, true);
in wp-config.php in th root directory.
I did that and now it comes up with
Warning: require_once(D:\Hosting\11889847\html/wp-includes/cache.php) [function.require-once]: failed to open stream: No such file or directory in D:\Hosting\11889847\html\wp-includes\load.php on line 390
Fatal error: require_once() [function.require]: Failed opening required ‘D:\Hosting\11889847\html/wp-includes/cache.php’ (include_path=’.;C:\php\pear’) in D:\Hosting\11889847\html\wp-includes\load.php on line 390
Any help?
Thanks a lot so far 🙂
It’s actually
define ('DISABLE_CACHE', true);
but if won’t have any effect if the file
wp-content/object-cache.php
exists and there are no caching plugins activated.
At this point, it’s trying to use core WordPress cache like it should, but it’s not finding the core file to include:
You should have this file:
wp-includes/cache.php
If you don’t, then you need to reinstall WordPress. If you do, then I’m not really sure, unless it’s something to do with Windows directory separators. (‘\’ instead of ‘/’)
I don’t so should I reinstall wordpress?
Yes, that’s a core file. If it’s not there then there’s been a problem with your WordPress installation.