WeBWorK Problems

error message in problem display

error message in problem display

by Kenneth Luther -
Number of replies: 3

Hi - Long time WW user at Valparaiso University, am now at Loyola University Chicago.  Had so much fun with WW at VU I've set it up on AWS as a totally no-risk optional practice playground for my students.  It's up and nearly working and I'm able to create problem sets, however, I am now getting an error message at pretty much any problem - either upon initial display or when trying to check an answer (image attached) : Error message from problem display: Undefined subroutine &Mojo::JSON::encode_json called at [PG]/macros/PG.pl line 1345

"Undefined subroutine &Mojo::JSON::encode_json called at [PG]/macros/PG.pl line 1345"

I have versions WebWork 2.19 / PG 2.20 . It looks like I may be behind by 1 on the current WebWork version since I initially copied it from the master held in AWS.  Could that be the culprit, or does anyone have other advice? 

In reply to Kenneth Luther

error message in problem display

by Kenneth Luther -

So I successfully (I think) updated to WW 2.20, and this problem seems to have been resolved, at least based on a small number of problems I completed. 

In reply to Kenneth Luther

error message in problem display

by Glenn Rice -

Using WW 2.19 with PG 2.20 would certainly be an issue.  Both WeBWorK and PG were switched to using Mojo::JSON for 2.20.  So if WeBWorK is on 2.19 and PG on 2.20, then WeBWorK would be providing the wrong JSON module.

In reply to Glenn Rice

error message in problem display

by Kenneth Luther -
Yeah, I have no idea how the releases got off track like that for me, I got this little learning (for myself) project started over the summer, it seems before WW was upgraded. I somehow ended up with the mismatch.