When atudent goes to cancel a booking this error occurs:
Debug info: error() is a deprecated function, please call print_error() instead of error()
Stack trace:
- line 836 of /lib/deprecatedlib.php: moodle_exception thrown
- line 1818 of /lib/deprecatedlib.php: call to error()
- line 14 of /mod/facetoface/cancelsignup.php: call to get_record()
I am using moodle 2.0.3+