Membership 2 registration not working with yoast active

When user submits a registration, the page keeps loading but never redirect to the thank you page.
Memberships registering and checking out...I was getting complaints it was taking too long to register and would not checkout. Same issue when user click the orange checkout buttons after they are logged in here too

see the videos: