How can I solve this error "Fatal error: Cannot redeclare retrieve_password()" - wordpress

I'm getting a error message when accessing 'wp-login.php' page and do not know how to fix it:
Fatal error: Cannot redeclare retrieve_password() (previously declared in E:\Inetpub\vhosts\winningbizzness.com\httpdocs\wp-login.php:311) in E:\Inetpub\vhosts\winningbizzness.com\httpdocs\wp-includes\user.php on line 2671

I had the same issue here and it was caused by a WordPress update failure where some files were missing or corrupted.
I quickly resolved just reinstalling WordPress. In my case I used FTP, as in this guide: https://kinsta.com/blog/reinstall-wordpress/
Hope it helps anyone reading this answer!

Related

wordpress theme not activating

whenever i activate any theme on my wordpress, i got this error. can anyone help me how to resolve this error?
checking the error.log file i got this error in that file.
unexpected '<' in /tmp/theme_temp_setupOG3lLA on line 2
can anyone tell me how to resolve it???

Fatal error: Cannot redeclare create_initial_rest_routes()

I am facing error with WordPress plugin
Fatal error: Cannot redeclare create_initial_rest_routes() (previously declared in /var/www/html/wp-includes/rest-api.php:183) in /var/www/html/wp-content/plugins/rest-api/plugin.php on line 216.
I have 2 plugin having this method 1 is default from WP and another is custom for my site.
Can you please help me about this, what process i am doing wrong here. As I am a JAVA developer and trying to understand the PHP plugin logic.
PHP version : 5.3.4
Apache: 2.2.17
MySql:5.1.53
Thanks in Advance.

Fatal Error on wordpress

I came back to my site after a long break and TADAH : Fatal error: Call to undefined function update_post_caches() in /home/web/cote-image/port2016/wp-includes/query.php on line 3818
You can see that on : http://lpb.cerealog.net/cote-image/port2016/.
Have you some answer to help me ?
I remove all the plugins for test but nothing
I think it was an update 4.6.1 to 4.6.3 but i don't have idea.
This issue is caused by W3 Total Cache plugin. You should disable and enable it again or better update it if it is not the latest version. If you still experience the problem try renaming or removing the w3-total-cache folder.
Here is more regarding this issue https://wordpress.org/support/topic/call-to-undefined-function-wp_cache_get/

Just updated the Embedly plugin and get this error.

Parse error: syntax error, unexpected '[' in D:\Hosting\2772443\html\wp-content\plugins\embedly\embedly.php on line 535
Can not activate Fatal Error. Is Embedly aware?
Yes, this is a version issue with PHP. A new version of the Embedly plugin will be available later today.

phpunit: get more debugging information when I get an error

I'm interested in getting more dubugging information when I get an error.
Now I'm getting something like this:
PHP Fatal error: Class 'MyFirm\PlatformBundle\Entity\Review\LandmarkReviewRepository' not found in /home/me/mf/myfirm2/vendor/doctrine/lib/Doctrine/ORM/EntityManager.php on line 577
Fatal error: Class 'MyFirm\PlatformBundle\Entity\Review\LandmarkReviewRepository' not found in /home/me/mf/myfirm2/vendor/doctrine/lib/Doctrine/ORM/EntityManager.php on line 577
but it's not enough for me, I want to know the some more functions or files where called right before that error happens.
Any idea?
phpunit 3.5.14
Regards
Javi
Install xdebug: it gives you better stacktraces.

Resources