WordPress Fatal Error: Cannot Redeclare function - How to Fix
このQ&Aのポイント
Learn how to fix the "Fatal error: Cannot redeclare function" error in WordPress. Follow these steps to resolve the issue and get your website running again.
If you encounter the "Fatal error: Cannot redeclare function" error in WordPress, try resetting the plugins folder and switching to the default theme. This can help resolve conflicts between plugins or themes.
In some cases, manually updating WordPress files can fix the "Fatal error: Cannot redeclare function" error. Follow the instructions provided by the WordPress Codex to perform a manual update.
技術情報(米国)翻訳、すみませんお願いします!
Santaともうします
お客さまのパソコンの復旧にてQAがアメリカにのみありました。
翻訳をお願いいただけませんでしょうか?
少し長いですが、こちらののページです。
http://wordpress.org/support/topic/fatal-error-cannot-redeclare-sticky_class-after-upgrade-35?replies=14
ちなみに、フォルダの場所D:¥・・などは理解出来ます。Dドライブの、、フォルダ
宜しくお願い致します。
失礼致します
スタート*********
No, not via the /wp-admin page.
Can I change someting little on the deprecated.php file and place it back with my FTP-program? Or should I replace WordPress files:
http://codex.wordpress.org/Updating_WordPress#Manual_Update
Or do you have a better and more simple suggestion?
Thanks for your help!
+++
Yes, I would do a manual update, but first try:
- resetting the plugins folder by using FTP or whatever file management application your host provides. Sometimes, an apparently inactive plugin can still cause problems.
- switching to the default theme by renaming your current theme's folder in wp-content/themes using FTP or whatever file management application your host provides.
+++
- When I deactivate the plugins beremaing the file into plugins.hold
I can't go to the /wp-admin page because the following error appears:
W3 Total Cache Error: some files appear to be missing or out of place. Please re-install plugin or remove /sites/susieqtipsandtrips.com/wales/wp-content/advanced-cache.php.
- switching the default theme in FTP, how do I do that? Rename the Mantra-theme name into any name or just the delete it? I uploaded the latest version of Twentyeleven already to the /wales/wp-content/themes file
It looks like I'm going to have to do a manual update, right?
+++
Just wondering: should I delete or empty the /wales/wp-content/upgrade/wordpress-3.tmp file when doing a manual udate?
The file is still loaded with all of the files.
+++
Well, case closed!! Manually installing the new files helped!
http://codex.wordpress.org/Updating_WordPress#Manual_Update
The website is running again, pfff...
+++
Rename the Mantra-theme name into any name, this will make WordPress use the (new) default theme Twenty Twelve.
To disable W3 Total Cache see: http://wordpress.org/support/topic/plugin-w3-total-cache-how-to-uninstall-with-no-admin-panel?replies=57
It looks like I'm going to have to do a manual update, right?
Yes it does.
[edit] Too late. Im glad you got it resolved
+++
Thanks anyway Keesie!
+++
I had to manually re-install wordpress and it seemed to make all of the errors disappear. This sucked a lot because I use infinitewp to run all my site updates, and one click of the button caused a lot of sites to go down. But I'm glad to have them up and running again.
+++
please help. i'm having the same error:
Fatal error: Cannot redeclare sticky_class() (previously declared in D:\Hosting\2341669\html\blog\wp-includes\post-template.php:584) in D:\Hosting\2341669\html\blog\wp-includes\deprecated.php on line 3192
but i still cant access anything when i rename the plugin folder to plugin.hold
help!! :(
+++
Well, case closed!! Manually installing the new files helped!
when you did this, were your blog entries saved? I didn't back up my blog so i'm nervous to do the manual install and loose whatever may be there. Would love any advise here :\
+++
@judyguada I didn't save anything (which is risky and I'm not going to advise you to do the same), because I didn't have to delete the content folder when doing the manual update. Good luck!
++++
tonite my own site ( move from free) to host, founded in my web :
http://www.kaosmotorklasik.com as follow
Fatal error: Cannot redeclare _verifyactivate_widget() (previously declared in /home/kaosmoto/public_html/wp-content/themes/neodymiumos/functions.php:39) in /home/kaosmoto/public_html/wp-content/themes/neodymiumos/includes/functions.php on line 522
we are only selling t-shit and attending the event, not much knowing about script, php etc....any solution...???.
would U like send to my mail : *********@yahoo.com
thanks all, great from indonesia
++++
お礼
fruchan 様 ありがとうございました。 日本語版があるのですね、存じ上げませんでした。 やってみます。 ありがとうございました。