Note: You are currently viewing documentation for Moodle 2.3. Up-to-date documentation for the latest stable version is 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.