ndunand / moodle-mod_choicegroup

Moodle "Group Choice" plugin
https://moodle.org/plugins/mod_choicegroup
35 stars 63 forks source link

Restrict access by user fields is made fails and displays a blank page #94

Closed RicardoUIB closed 3 years ago

RicardoUIB commented 8 years ago

Code modification "Add new function choicegroup_getresponses and modify to choicegroup… #90" It causes a blank page appears if access to the activity and have selected access restrictions with user profile field. To resolve the error had to undo the last change of code described in the previous link

Error reported in developer mode: Notice: Undefined offset: 4447 in .../moodle/mod/choicegroup/lib.php on line 887 Fatal error: __clone method called on non-object in .../moodle/mod/choicegroup/lib.php on line 887

My Moodle version is 3.0.6 and I have installed the last choicegroup 1.9.1 for Moodle 2.7-3.1 (Build: 2016090500)

cmathieu11 commented 7 years ago

Hello, we have the same error on a Moodle 3.1.2+ (Build: 20160923)

NicoAlexH commented 3 years ago

Hello, it's a bit late but we can't reproduce the bug, therefore we'll close this issue but feel free to reopen it / reply if you still encounter it.