Andreas I'll weigh in too. From my experience, if you duplicate a WordPress website to a staging site, the database and database username will be unfortunately set in wp-config.php with the prefixes duplicated. You have to correct that by removing the duplicate prefixes on both. It's been a pain for us for so long I don't know why this still hasn't been fixed it, just like redirects set in Enhance are sent to the .htaccess in the home directory, not the proper document root.
But you probably don't need a staging site anyway. The things I would check:
First access the shell for the website container, cd ~/public_html (if that's the WordPress doc root) and run "grep -lr [original doc root] *" (of course replace [original doc root] with the actual value which is the doc root of the website from which you originally migrated WordPress from.
Second, if these are corrected or not present (usually WordPress doesn't need paths corrected, but sometimes the wp-config.php might have one or two, or other config files especially for WordFence will need tweaked.) After this is done, access the WordPress dashboard and visit Settings > Permalinks and resave them without changes. That will often correct weird problems.)