Can you check the wp-config.php file of the site? Perhaps there is an entry of the staging domain hardcoded that could be overriding the site and home URLs in the database
For those warnings showing in Adminer. It’s another issue, but you can edit the adminer file to force the GUI not to display the warnings by setting this script provided in this other thread.