I created a plugin that allows a student to ask for extension for an assignment. The request sends an email to a teacher. The teacher can click on the link which has two parameters, the assignment id and the userid, so the teacher is taken directly to a page on Moodle where he/she completes the letter (either approve or reject. Content of letter is extracted from database and added to editor.). Teacher can add new due date and add wording to letter or simply submit as is. Everything works perfectly except the evaluation page. It gives an ad hoc (
Error code: An error occurred whilst communicating with the server
So it sometimes give the error and sometimes not. My guess is that must be a session error. Putting debugging on, doesn't give any more information. And the problem only occurs on ONE Moodle installation. It works perfectly fine on two other installations.
Any ideas as to what is causing the error?