I have the same your problem, but your solution didn’t works for me…
i’ve updated the functions.php file with the new 4 lines but the problem remains… 404 not found.
i’ve also posted my problem here… please help
https://www.ads-software.com/support/topic/73642?replies=1