error/debug/codingerror: Difference between revisions
No edit summary |
Helen Foster (talk | contribs) (copying tip from Donna H, category) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
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. | |||
[[Category:Error|Coding error]] |
Latest revision as of 06:28, 22 February 2012
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.