I have a previously stable Webwork 2.5 installation that now displaying a new problem.
Everytime a student enters a solution and presses "Check Answer", the answer is correctly classified as correct or incorrect, but the following warning appears:
Warning messages
Use of uninitialized value $checkAnswers in list assignment at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Problem.pm line 664.
Odd number of elements in hash assignment at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Problem.pm line 664.
This is a new problem, and the warning appears on all questions (so it isn't due to a typo in the problem's Perl code).
- When "Acting as" from an admin account, there is no warning.
- Any student answering any question at all gets this warning, even well-validated ones taken directly from the OPL.
Any ideas or thoughts about what could be causing this would be welcome.
[The last major system level thing I did between now and the last known working state was batch uploading .rep and other files into a new /opt/webwork/courses/[new course] directories. I was pretty sure I got the permissions set correctly on the new courses, but this error appears for both students in the old courses and the new courses.]
Thanks,
Alan
---
Alan Ableson
Queen's University, Kingston, Ontario