Undefined property: opendate and foot.inc errors

Undefined property: opendate and foot.inc errors

by Mark Stevens -
Number of replies: 2
Mike,

Martin just gave me a new questionnaire and I'm getting these errors when I try to add a questionnaire to my course.

Notice: Undefined property: opendate in /home/snevets/public_html/moodle/mod/questionnaire/mod.html on line 108
/>
Notice: Undefined property: opendate in /home/snevets/public_html/moodle/mod/questionnaire/mod.html on line 110

Notice: Undefined property: opendate in /home/snevets/public_html/moodle/mod/questionnaire/mod.html on line 113
12345678910111213141516171819202122232425262728293031 JanuaryFebruaryMarchAprilMayJuneJulyAugustSeptemberOctoberNovemberDecember 20002001200220032004200520062007200820092010
Notice: Undefined property: opendate in /home/snevets/public_html/moodle/mod/questionnaire/mod.html on line 114
000102030405060708091011121314151617181920212223 000510152025303540455055

Use Close Date Use Close Date:


Notice: Undefined property: closedate in /home/snevets/public_html/moodle/mod/questionnaire/mod.html on line 124
/>
Notice: Undefined property: closedate in /home/snevets/public_html/moodle/mod/questionnaire/mod.html on line 126

Notice: Undefined property: closedate in /home/snevets/public_html/moodle/mod/questionnaire/mod.html on line 129
12345678910111213141516171819202122232425262728293031 JanuaryFebruaryMarchAprilMayJuneJulyAugustSeptemberOctoberNovemberDecember 20002001200220032004200520062007200820092010
Notice: Undefined property: closedate in /home/snevets/public_html/moodle/mod/questionnaire/mod.html on line 130
I'm also getting this error, which I think you addressed already?

Notice: Undefined index: qpage in /home/snevets/public_html/moodle/mod/questionnaire/phpESP/admin/include/foot.inc on line 18
Average of ratings: -
In reply to Mark Stevens

Re: Undefined property: opendate and foot.inc errors

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Sorry, I left your site in "developer debugging mode", which will show all these non-important errors.  Try the same thing now.
In reply to Mark Stevens

Re: Undefined property: opendate and foot.inc errors

by Mike Churchward -
Picture of Core developers Picture of Plugin developers Picture of Testers
Looks like I was sloppy with initializing values...

Do what Martin said, and the problems will visually go away. They won't hurt anything anyway. I'll add cleaning up this code to my list.

mike