There are many reasons, one of the more common however has proven to be related to php version. If your code uses mysql_connect etc rather then mysqli or PDO, you would need to downgrade to php version 5.6, all accounts are set on php version 7.2 on the new servers as that is its default option...