hi i have a small problem, i create a new Lesson, with numerically questions!
Everything works fine, but if i want to look for the statistics of a special user, then i will get this error message:
Warning: Invalid argument supplied for foreach() in .....\moodle\mod\lesson\report.php on line 855
foreach ($page->answerdata->answers as $answer (line 855)
This error message only occurs if the question is answered wrongly!
For all the other questions this message does not appear!
How can i fix this problem ?
Thanks