WordPress Error Related To WordPress Cache – How to Repair Your Blog
I’ve had an actually annoying error tonight, my WordPress weblog crashed.
I am all the time considering enhancing my blogs, like make them look higher or load quicker. With WordPress, that is fairly straightforward because you simply should go to the plugins part on the WordPress admin panel, enter a key phrase and set up no matter plugin you discover with simply 1 click on. So here’s what I did:
– obtain the plugin “WP Cache” – activate it
After activating the plugin I used to be not capable of entry my weblog anymore (neither admin panel nor regular homepage). When i opened my URL it solely confirmed the content material of my wp_config, closing with an error message like
Deadly error: Name to undefined perform wp() in /residence/… wp-blog-header.php on line 14
I did then delete the plugin from the /wp-content/plugins/ listing. This was not sensible; I ought to have simply renamed it. Properly, the web site nonetheless didn’t work.
How I made my weblog work once more
– I went into php myadmin and created a backup of the entire database my WordPress weblog is utilizing. (Do not compress the file in.zip, I feel you’ll be able to solely use uncompressed and.tar compression for restore.)
– I delete the database and the consumer. – I created the database once more, with the identical identify. Similar goes for the customers. – Now I deleted my wp-config.php and opened my area in my browser, adopted by /set up.php to comply with the set up course of. I used to be capable of login into my weblog after this – sadly it was completely “clear” now. – Subsequent I attempted to revive/import the database backup I might made earlier than however received the next error:
#1062 – Duplicate entry ‘1’ for key ‘PRIMARY’
After some analysis I chosen all tables in my WordPress database and cleared the content material. Now I imported my backup once more.
And guess what – it labored! By weblog is simply as shiny as earlier than:-).
Key phrases: wordpress