Skip to main content

Mar
11
comment Moodle error when previewing generated quiz from plugin
Output buffer: object(stdClass)#371 (32) { ["slot"]=> string(1) "1" ["slotid"]=> string(2) "69" ["page"]=> string(1) "1" ["maxmark"]=> string(9) "1.0000000" ["displaynumber"]=> NULL ["requireprevious"]=> string(1) "0" ["filtercondition"]=> NULL ["usingcontextid"]=> NULL ["status"]=> NULL ["versionid"]=> NULL ["version"]=> NULL ["requestedversion"]=> NULL ["questionbankentryid"]=> NULL ["questionid"]=> string(3) "s69" ["id"]=> string(2) "69" ["parent"]=> NULL ["name"]=> string(38) "This question no longer seems to exist". Seems like the id is retrieved with a "s" in front, whilst in db is 69
Mar
10
asked Moodle error when previewing generated quiz from plugin