Problem with cookies in Wordpress copy

0

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.

    
asked by Sebastian Gutierrez 23.04.2018 в 22:53
source

1 answer

1

The problem was in the WP Super Cache plugin, to solve the problem, I disabled the plugin and I created a new file wp-config to remove everything that was not by default, I updated the data in the database and everything was left working fine, then I uninstalled the plugin.

    
answered by 17.07.2018 / 17:52
source