Fatal error: Call to undefined function get_context_instance() in /opt/www/htdocs/moodle16/mod/feedback/lib.php on line 323
Can anybody tell me what the problem is? What can I do to solve it?
I would really appreciate any help we can get finding a solution for this. Feedback has become a central part for many of our courses.
Edit: I have some more information. Aparently the administrator installed an incorrect version of Feedback. I assume that was the source of the error I mention above. I installed the appropriate version on top of the old one and now, when I go to the admin page, I get the following error:
Version mismatch: feedback can't downgrade 2007073101 -> 2006120805
What is the fastest way to fix this?
Not a very good idea. The previously installed version of feedback should have been properly and completely removed first (including any related tables in the database) and then the new, correct version should have been installed.
I'd recommend un-installing properly and completely the present version and re-installing from scratch.
I faced the same problem, and I'm working on fixing it right now. BUT I have one question: If i wanted to upgrade from moodle 1.6 to moodle 1.8, the feedback module will be upgraded... so will it be installed on top of the old one and cause the same problem? What should I do if I wanted to upgrade? Completely removing the module (removing all the entries from the db) is not an option.
I am facing the same problem as you did and I am about to uninstall the module.
What I need to know is: what are the tables/files I have to remove in order to remove the module... I assume you removed them manually since you could not login to the admin account...