JS error "Uncaught TypeError: ggbApplet.getExerciseResult is not a function" when more then one GGB

nadavkav shared this question 2 months ago
Answered

When we use more than one GGB question in a Moodle quiz page, the seem to collide and I get the following JS error:

ggbq.js:75 Uncaught TypeError: ggbApplet.getExerciseResult is not a function at c.M.form_ggbq.getBase64andCheck (ggbq.js:75) at e.Subscriber._notify (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js:40) at e.Subscriber.notify (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js:40) at e.CustomEvent._notify (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js:39) at e.CustomEvent._procSubs (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js:39) at e.CustomEvent.fireSimple (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js:39) at e.CustomEvent._fire (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js:39) at e.CustomEvent.fire (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js:39) at c.fire (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js:343) at c._notify (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js:359) at e.Subscriber._notify (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js:40) at e.Subscriber.notify (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js:40) at e.CustomEvent._notify (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js:39) at e.CustomEvent._procSubs (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js:39) at e.CustomEvent.fireSimple (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js:39) at e.CustomEvent._fire (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js:39) at e.CustomEvent.fire (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js:39) at HTMLDivElement.a.fn (yui_combo.php?rollup/3.17.2/yui-moodlesimple-min.js:115)
As a workaround: I split the GGB questions to different pages, and it works fine.

Comments (1)

photo
1
© 2019 International GeoGebra Institute