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

WordHerd | 2015 年 10 月 3 日 | 2分钟阅读
分享这篇文章

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:-).

阅读完整文章 >

阅读更多来自这位作者的作品

关键词:WordPress

准备好迁移您的网站了吗?

首先进行免费的无义务网站评估。我们将对您的项目进行评估,推荐合适的平台,并为您提供明确的报价。

保证零数据丢失
完整 SEO 保留与重定向映射
准时且按预算交付
专业化的平台专家,而非泛泛的专家

请告诉我们您的网站信息

"*"*” 表示必填字段

此字段用于验证目的,不应更改。
姓名*