ddmatch question errors in log

ddmatch question errors in log

by Christopher Molnar -
Number of replies: 4

Seeing the following errors in my error_log. Any thoughts:

 

[Tue Jul 30 21:50:14 2013] [error] [client 173.166.96.121] PHP Notice: Undefined index: in /home/pcilms/moodle/question/type/ddmatch/renderer.php on line 95, referer: http://pcilms.mportfolios.net/mod/quiz/review.php?attempt=2557&page=1
[Tue Jul 30 21:50:14 2013] [error] [client 173.166.96.121] PHP Notice: Undefined property: qtype_ddmatch_question::$choiceformat in /home/pcilms/moodle/question/type/ddmatch/renderer.php on line 97, referer: http://pcilms.mportfolios.net/mod/quiz/review.php?attempt=2557&page=1
[Tue Jul 30 21:50:14 2013] [error] [client 173.166.96.121] PHP Notice: Undefined index: in /home/pcilms/moodle/question/type/ddmatch/renderer.php on line 218, referer: http://pcilms.mportfolios.net/mod/quiz/review.php?attempt=2557&page=1
[Tue Jul 30 21:50:14 2013] [error] [client 173.166.96.121] PHP Notice: Undefined property: qtype_ddmatch_question::$stemformat in /home/pcilms/moodle/question/type/ddmatch/renderer.php on line 218, referer: http://pcilms.mportfolios.net/mod/quiz/review.php?attempt=2557&page=1

Average of ratings: -
In reply to Christopher Molnar

Re: ddmatch question errors in log

by Jean-Michel Védrine -

Hello Christopher,

Thanks for reporting these problem with a precise error message.

Can you tell me what version of Moodle and of the ddmach question you are using ?

In reply to Jean-Michel Védrine

Re: ddmatch question errors in log

by Christopher Molnar -

I am on MoodleMoodle 2.5.1+ (Build: 20130726)

with ddmatch 2013062409

 

 

In reply to Christopher Molnar

Re: ddmatch question errors in log

by Jean-Michel Védrine -

Hello,

I seems that one of the choices in a ddmach question was removed after the question was attempted. Unfortunately there is no warning if a teacher do that.

Please note the problem is no specific to ddmach, the core matching question has exactly the same behaviour and produce similar errors messages in that situation.

Better to instruct all teachers that you can' add or remove any stem or choice after a ddmatch or matching question has been attempted.

In reply to Jean-Michel Védrine

Re: ddmatch question errors in log

by Jean-Michel Védrine -

Unfortunately the t key of my keyboard has some problems. Sorry.

Better to instruct all teachers that you can't add or remove any stem or choice after a ddmatch or matching question has been attempted.