My moodle gave me this error: "Coding error detected, it must be fixed by a programmer: Invalid state passed to moodle_page::set_state. We are in state 0 and state 3 was requested."
I googled for a bit, but couldn't find an exact solution for this error. I have never encountered it myself before. If you need any extra information on the code or file, be sure to tell me.