WordPress Error Related To WordPress Cache – How to Repair Your Blog

I’ve had an really annoying error tonight, my WordPress blog crashed.

I’m always interested in improving my blogs, like make them look better or load faster. With WordPress, this is pretty easy since you just have to go to the plugins section at the WordPress admin panel, enter a keyword and install whatever plugin you find with just 1 click. So here is what I did:

– download the plugin “WP Cache” – activate it

After activating the plugin I was not able to access my blog anymore (neither admin panel nor normal homepage). When i opened my URL it only showed the content of my wp_config, closing with an error message like

Fatal error: Call to undefined function wp() in /home/… wp-blog-header.php on line 14

I did then delete the plugin from the /wp-content/plugins/ directory. This was not smart; I should have just renamed it. Well, the website still did not work.

How I made my blog work again

– I went into php myadmin and created a backup of the whole database my WordPress blog is using. (Don’t compress the file in.zip, I think you can only use uncompressed and.tar compression for restore.)

– I delete the database and the user. – I created the database again, with the same name. Same goes for the users. – Now I deleted my wp-config.php and opened my domain in my browser, followed by /install.php to follow the installation process. I was able to login into my blog after this – sadly it was totally “clean” now. – Next I tried to restore/import the database backup I’d made before but got the following error:

#1062 – Duplicate entry ‘1’ for key ‘PRIMARY’

After some research I selected all tables in my WordPress database and cleared the content. Now I imported my backup again.

And guess what – it worked! By blog is just as shiny as before:-).



Source by Nicholas Ammon

Leave a Reply