I am making a copy of a WordPress site from a local hosting, I do the steps as always:
- Download database
- Download files
- Change data in
wp-config.php
- Change site address in
wp-options
in the database
But at the time of entering wp-admin
I see this error
Warning: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/mi-sitio/wp-config.php:1) in /Applications/MAMP/htdocs/mi-sitio/wp-login.php on line 424
And on the login fields this alert appears:
ERROR: Cookies have been blocked due to an unexpected result. For help, please see this documentation or try the support forums.
I have already read that it may be a problem with a space in the% <?php
but it is not my case. I already deleted the cookies and neither.
Additionally the site has WP-SuperCache and Wordfence installed, I believe that these are the ones that are causing the problems, and I deactivated them and even deleted the tables of these plugins but it has not worked.