You have recently made a change to your system. Previously you had to change the wp-config and adjust the DB when changing the URL.
In 2 minutes everything was done. Now you have adjusted your system to make these adjustments for you in a URL change.
The problem with the thing is just that it does not run smoothly.
I wanted to quickly change the URL over 5 hours ago, after completing the development work on a project.
This resulted in a bug where your support has already been working on for 5 hours. I'm chatting with the 3rd employee. Hope Muneeb gets this problem under control!
Conclusion: Please take this function back first. As you know, changing a URL manually is a very quick thing to do. Whether it would need a system for it ultimately you decide. But please only when it runs safely!