I'm completely stuck trying to debug a problem i have been having a long time.
I cannot replicate the cause, however, it seems after some time my website will just return a 500
HTTP return status code.
My fix is having to use a VPN to change IP address (or wait sometimes hours) and then everything is fine until it happens again. Sometimes it will last hours, days or minutes. It is on any page and completely random.
My server logs doesn't show anything, and I have no idea where to start.
I tried removing my htaccess and it also only seems to happen when logged in or having an active session.
Any ideas are greatly appreciated. Thank you.