I’m attempting to switch hosts using the migration feature of updraft and it’s not working at all. I’ve had a couple of stabs at it, tried restoring it piece by piece and it seems to be a problem with the database.
When I go to restore, it seems to go through with no problems but totally breaks the site. The initial ‘restore successful’ landing page loads up just fine, but when I go to click the ‘get report (needed for support)’ button it gives me a 403 forbidden error and then refuses to let me log back in to the site, forcing me to manually delete everything and start over with a fresh wordpress install.
I also gives me a load of errors on the admin login screen.
Warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in /homepages/6/d81964312/htdocs/clickandbuilds/katiemilletthealth/wp-includes/wp-db/php on line 1102
And then about 15 of this error with a different line reference at the end:
Warning: cannont modify header information -headers already sent by (output started at /homepages/6/d81964312/htdocs/clickandbuilds/katiemilletthealth/wp-includes/wp-db/php:1102) in /homepages/6/d81964312/htdocs/clickandbuilds/katiemilletthealth/wp-includes/pluggable.php on line 421
Initially, I thought this was a MySql error as the most recent backup is using 5.6 and this server is on 5.5, but I’ve also tried it with older backups from 5.5 and have the same set of errors regardless.
Any thoughts?