I have the latest version of moodle 2.7 installed on a LAMP server. when some users login they get the error "invalid course module id". I have switched on debugging and from the live logs i see errors of the form The user with id '1180' viewed the course with id '444'. Any help greatly appreciated.
Does course with id=444 exist?
Maybe users are just modifying the URL and seeing where does that take them.
Thanks for your reply, to answer your question we don't use course id numbers so leave that field blank. But I think i have it solved, i saw from some other threads that it is linked to the calendar, when i disabled the calendar on my site it seems now to be working fine. Thanks again for your help.
Just a little clarification: there is a system generated Course Id, which is the one I was referring to and which is displayed at the URL when one enters a course, and a Course ID Number, which is a code that can be set at the Course ID Number text box when editing the course settings.
If you have upgraded your Moodle installation to 2.7 then this is probabbly because of "assignment 2.2" module which is not supported anymore in 2.7.
You can follow this link http://docs.moodle.org/27/en/Assignment_upgrade_tool to upgrade your old assignments and this will work.
"the calendar module tries to display assignment events but get error because of missing assignment 2.2 module"
OK, so it does appear to be the calendar at fault, but what about assignments that cannot be upgraded? Eg. Turnitin Basic? What then? It's no possible to delete the items, because they can't be seen.
OK, so, looking at our clone server, it appears to be fine, as long as the assignment module is left in place. Even though it is disabled, having the plugin present prevents the calendar from failing. Will look into this contrib as a potential solution too.