Upgrade button doesn't work from subdomain sites

I'm trying to make plan upgrade on subsites, when I click on Upgrade, the link sends me to https://++++++.ru/template-common/2019/01/09/5-autosave-v1/?bid=3 which is a 404 page instead of https://++++++.ru/pro-site/?bid=3, can you help me?