We just installed a new version of webwork this summer. Whenever a problem contains a HINT a pink screen appears with the following webwork warning.
Warning messages
-
Use of uninitialized value in numeric le (<=) at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Problem.pm line 637.
The coding for the HINT is the following:
$showHint=1;
HINT(EV2(<<EOH));
This is the hint.
EOH
The problems work fine on another server (with an older version of webwork).The file PGbasicmacros.pl is the same on the two servers. The pink screen disappears after an answer is checked or if the lines with HINT are commented out.
Any help would be appreciated.
Stefania