Just a bit of useful advice for people like me who spent hours on a silly problem!
Had a member I had been advising for some time to upgrade from WordPress 5.7.12 to something more up to date. The member really had no idea how the older theme would even work after the upgrade, so I arranged to manually create an Enhance backup and upgrade to see what happened. Figured I'd easily be able to rollback.
There were too many problems with the upgrade of WordPress and the site would simply generate 503 errors that were not easily resolved no matter which PHP version was in effect, so we had to rollback and develop a better strategy with a staging site.
Then the real fiasco began lol. We returned the site to PHP 7.4 (the original version). Rolled back to the manual backup, and still 503s. Rolled back further and the same. Dozens of rollbacks and none would function at all!
Somewhere along the line in this process I decided to change the PHP version after a rollback then back to PHP 7.4, and Eureka! The entire problem was the PHP version for some reason. Apparently if you restore a WordPress backup and experience errors that are difficult to troubleshoot, change the PHP version then back to the expected working one and the problem is mysteriously resolved. Only took me hours to figure that out!
Latest v11 Enhance BTW, haven't yet upgraded.