Warnings at runtime

Warnings at runtime

by Brian Gray -
Number of replies: 1
I get the following warning messages at the conclusion of taking a survey, after clicking the submit button:

on line Warning: array_values(): The argument should be an array in /var/www/html/moodle/mod/questionnaire/phpESP/admin/include/lib/espsql.inc177

on line Warning: array_values(): The argument should be an array in /var/www/html/moodle/mod/questionnaire/phpESP/admin/include/lib/espsql.inc177

The survey data is recorded correctly. I have seen this message in the two surveys I created during testing.

Also, when I tried to print a questionnaire from the teacher's account, I get the following warning:

Warning: Invalid argument supplied for foreach() in /var/www/html/moodle/mod/questionnaire/print.php on line 416


This questionnaire has a single question (type rating 1..5).

My environment:
  • RedHat Linux ES-3
  • MySql 3.23.58
  • PHP 4.3.2
  • Moodle 1.5.1
  • Questionnaire donloaded today (modify date July 8)


Any advice?

bkg


Average of ratings: -