A required parameter (mode) was missing

More information about this error

Debug info:
Error code: missingparam
Stack trace:
  • line 494 of /lib/setuplib.php: moodle_exception thrown
  • line 562 of /lib/moodlelib.php: call to print_error()
  • line 14 of /mod/glossary/print.php: call to required_param()