Wordfence Security
[resolved] Can't access Dashboard (login) (5 posts)

  1. ResidentAtheist
    Posted 2 years ago #

    I migrated my WordPress website to a different server (Arvixe).

    I backed up the files and database. I did a new install of WordPress. Then I imported my database. Then I copied my backup of the wp_content folder to the new installation.

    Database and site are working but now when I try to login to the dashboard I get this:

    Warning: Missing argument 2 for wordfence::authAction() in /home/traxcat/public_html/makefiftybucks.net/wp-content/plugins/wordfence/lib/wordfenceClass.php on line 645

    Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /home/traxcat/public_html/makefiftybucks.net/wp-includes/wp-db.php on line 880

    Warning: Cannot modify header information - headers already sent by (output started at /home/traxcat/public_html/makefiftybucks.net/wp-content/plugins/wordfence/lib/wordfenceClass.php:645) in /home/traxcat/public_html/makefiftybucks.net/wp-includes/pluggable.php on line 681


  2. supawiz6991
    Posted 2 years ago #

    Was it purely a server to server transfer or did your website domain change too?

  3. ResidentAtheist
    Posted 2 years ago #

    Just a server transfer. I think I have tracked the problem to:

    Not sure but that worked for 2 of them. I still have 38 to transfer so I will see if that works for the rest of them.

  4. supawiz6991
    Posted 2 years ago #

    Being its a server to server transfer with the domain being the same.... why the complicated process of creating a new installation and then merging?

    Unless you have a special circumstances the way you should do the transfer is:

    Download ALL of the web files (not just wp-content) and database from the old location.

    Upload the site files to the web directory on the new server and upload the database to the mysql server on your new server.

    IF your database username, password or mysql hostname have changed then update then in wp-config.php.

    I've transferred numerous sites like this without issue. I recommend that you clear out your web directory and database and follow the above steps and re-transfer your site.

    I suspect that in the method you used some kind of corruption occurred somewhere.

  5. Wordfence
    Plugin Author

    Posted 2 years ago #


    We fixed this issue in the newest Wordfence which just went out. Please upgrade and let me know if you still have the problem.



Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Wordfence Security
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic