Sorry about the issue and thank you so much for sharing the solution with us. But the main issue here is that, we need to use the admin_url function to find the admin url. We can’t manually code wp-admin. Some plugin are known to change wp-admin folder as well.
We will check this issue in details and see what we can do here.