Note: You are currently viewing documentation for Moodle 3.0. Up-to-date documentation for the latest stable version of Moodle may be available here: error/moodle/nocontext.


From MoodleDocs

This is a very unusual error. It should never happen in normal operation.

If you see this error, one thing to try is to check your database for corruption.