Note: You are currently viewing documentation for Moodle 2.8. Up-to-date documentation for the latest stable version of Moodle may be available here: error/moodle/nocontext.
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.