I’ve never seen this issue before. I can assure you that the namespace declaration statement is the very first statement in that file. There are thousands of people running Quick Cache and no one has reported this issue, so I suspect that you might have a corrupt version of Quick Cache.
Can you tell me which version of PHP and which version of Quick Cache you’re running?
Also, have you tried deleting and reinstalling Quick Cache?
Thread Starter
diska
(@diska)
I don’t know what version of php I have… I will have to check with my hosting folks. As far as QC is concerned, it is the free version, and I installed it several months ago, and it seemed to work fine.
I have no way to delete and reinstall it… that is my problem. I cannot log into the WordPress admin page at all. I don’t even get the log in… I type in the admin URL and immediately receive the error I showed above.
I am completely blown out of the water. I have ftp access to the files, but that is it. The actual site seems to be running OK.
If you have FTP access, please follow the emergency steps outlined at the bottom of this section: http://ww.wp.xz.cn/plugins/quick-cache/installation/
EMERGENCY: If All Else Fails (How-To Remove Quick Cache)
Ordinarily you can just deactivate Quick Cache from the plugins menu in WordPress. However, if you’re having a more serious issue, please follow the instructions here.
- Log into your site via FTP; perhaps using FileZilla.
- Delete this file:
/wp-content/advanced-cache.php
- Delete this directory:
/wp-content/plugins/quick-cache/
- Remove this line from your
/wp-config.php file: define('WP_CACHE', TRUE);
Quick Cache is now completely uninstalled and you can start fresh 🙂