Https:// redirecting after logout not working

Hi I was having issues with my SSL on my website, but that has now been fixed.
Now I have a new issue with the course plugin, when I login as student and then logout, I am redirected to https://watchon.club/student-login/ which should be fine as my site is all working with the https now, but this error comes up and I have to manually change https into http so it displays the right info on the page. How can I fix this?