Note: You are currently viewing documentation for Moodle 2.1. Up-to-date documentation for the latest stable version is available here: error/debug/codingerror.

error/debug/codingerror

From MoodleDocs
Revision as of 06:28, 22 February 2012 by Helen Foster (talk | contribs) (copying tip from Donna H, category)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Coding errors (or coding_exceptions) are problems that are probably caused by incorrect code. For example a plugin that does not communicate correctly with Moodle core.

These errors are normally not caused by incorrect user input or temporary problems like the connection to the database server being down.

Tip: We had this error appear during restore of a v1.9 backup to a v2.1 site. (The Moodle version may or may not be significant.) It was caused by the presence of three multiple-choice Questions which didn't have any answers defined. Beats me how the teacher managed to create those questions. Error messages during the Backup part of the process helped us locate and delete the offending questions.