I was having the same problem. I tried all the solutions and none of them worked. In the end, it ended up being my miss-configuration of the General Options. I set up a subdomain and I put it in both WordPress address and Blog address.
I changed the WordPress address from https://blog.example.net/ back to it’s original address (https://www.example.net/wordpress/) and it started working fine again.
I hope that helps anyone that couldn’t fix it.