Fatal Error

Fatal Error

by David Ackerman -
Number of replies: 0

After preparing a glossary and clicking Save Changes, I get this error on a white page:

Fatal error: Call to undefined function get_context_instance() in /var/www/moodle/mod/glossary/view.php on line 47

The glossary will appear on the course page but when I click on it, I get the same error.  I deleted the module and added the latest Glossary module and I get the same error.  How can I fix this?

Average of ratings: -