Learn to use sentinels within while statements to prevent infinite loops.
This page was published over 7 years ago.
Please be aware that due to the passage of time, the information provided on this page may be out of date or otherwise inaccurate,
and any views or opinions expressed may no longer be relevant. Some technical elements such as audio-visual and
interactive media may no longer work. For more detail, see how we deal with older content.
Exception - Not Found Error
Coding error detected, it must be fixed by a programmer: Cannot call moodle_page::add_body_class after output has been started.