A student selects a homework set from the "Homework Sets" page and clicks "Download PDF or TeX Hardcopy for Selected Sets."
He is taken to another page, where he clicks "Generate hardcopy."
This brings up a page containing
Can't call method "hide_work" on an undefined value at /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator/Hardcopy.pm line 216.
The information below can help locate the source of the problem.
in WeBWorK::ContentGenerator::Hardcopy::pre_header_initialize called at line 179 of /opt/webwork/webwork2/lib/WeBWorK/ContentGenerator.pm
in WeBWorK::ContentGenerator::go called at line 371 of /opt/webwork/webwork2/lib/WeBWorK.pm
This only seems to happen for student users. When I login as professor, I can produce hardcopy with no errors indicated.
Any thoughts on what might be the cause?