wordpress error
-
hi i have question related site migration i have created a website on pantheon after completion i migrated my website to hostinger i used a migration tool to transfer my pantheon website data to hostinger to host my site migration was successful but the issue is the migration tool copied all the data including username password everything once i connected with the host i couldnt be able to login the error shows wordpress critical error i dnt know how to login my clone site on hostinger any help ?
-
Hi! I’ve worked with Pantheon migrations before, and a “critical error” right after moving hosts is usually one of these:
- Database connection details – even if the migration tool copied your files/database,
wp-config.phpoften needs the database name, username, password, and host updated manually to match Hostinger’s new database, not Pantheon’s. Check with Hostinger’s control panel (usually cPanel or hPanel) for the correct DB credentials and compare them to what’s currently in yourwp-config.php. - Check the actual error first -go into your hosting file manager and look for
wp-content/debug.log(or enable debugging temporarily by addingdefine('WP_DEBUG', true);anddefine('WP_DEBUG_LOG', true);towp-config.php) – this will show you the exact PHP error instead of the generic “critical error” message, which makes it much easier to pinpoint. - Try logging in directly via
yourdomain.com/wp-login.phprather than through the dashboard link, in case it’s a redirect/URL mismatch issue rather than a true login failure.
Let me know what the debug log actually says – that’ll narrow it down fast.
- Database connection details – even if the migration tool copied your files/database,
-
-
Yeah, I accessed my file manager and deleted the file loader .php file from my DB, and the error was gone thanks
-
You’re very welcome! Glad that fixed it, and thanks for coming back to share what the actual cause was — that leftover loader file is a good one to know about for anyone else who runs into a similar migration issue in the future. Happy the site’s back up and running!
-
-
Thanks for your helpful reply @harrammansoorkhan11!
@pocketapkofficial For faster support with WordPress sites on other hosting services, please reach out directly to their support (or refer to https://wordpress.org/support). These forums are meant for sites hosted on WordPress.com. If you’d like to host sites with us, we have a guide for that here: https://wordpress.com/support/import/import-an-entire-wordpress-site/
- The topic ‘wordpress error’ is closed to new replies.