There is a major flaw in the new staging feature, which can render a cloned staging site unusable. It seems to do a full search-n-replace for things similar to the domain name, in all of the source code.
We have a WP site, just cloned with staging feature to a separate server. Let’s say the domain name is client.se. In the functions.php file, we have functions that might be called client_setup(). All these have now gotten replaced by “wordpress-XXXXXX-XXXXXX.cloudwaysapps.comtup()”, of course breaking the site entirely and requiring manual work to enable it again.
One function also calls an external API, which has the URL api.client.se. This of course breaks entirely as well as it gets replaced with the new Cloudways temporary domain name.
This needs to be fixed asap as it is a very unreliable process as it stands, and the search-replace should of course only target the actual spots needed to alter the URL, and not go thru all content and all source code.