Successfully migrated WP 6.1.1 site to a new domain. Same a2 hosting environment, different shared hosting account and different domain. WordPress migration went without a hitch. But CiviCRM 5.57.1 (which worked fine on the original site) caused WP to spit out "There has been a critical error on this website" every time Civi was activated. Soon as I change the civicrm folder name in plugins, Civi is deactivated and WP works again. (Can easily reproduce this part.)
Same thing happens when all other WP plugins are disabled. Decided to try a fresh start, so backed up the Civi database before dropping all Civi tables from our WP database. Then uploaded and expanded a new copy of 5.57.2 and tried to do a clean install. Same result. Attempting to activate the new CiviCRM instantly throws a critical error, and WP is dead until civicrm folder gets renamed yet again.
Running php 8.1 -- haven't tried changing php version yet. It's moot given that 7.4 seems to be on its deathbed. Tried changing themes to 2023, but no luck.
Closest thread I could find was this one, but it didn't entail a fresh install with no Civi tables in the db. So I'm hoping one of the devs might nudge me toward some productive troubleshooting. When something changes, I'll come back and report. And when this is fixed, I'll describe the solution in detail so others can learn something from my comedy of errors, or at least enjoy a laugh at my expense.