Version: master(15.04)
Adding users by CSV causes errors:
[WAR] cf (lib/errors.php:745) Invalid values parameter sent to get_recordset_sql.
Call stack (most recent first):
log_message("Invalid values parameter sent to get_recordset_sql...", 8, true, true) at /home/sonn/code/mahara/master/htdocs/lib/errors.php:95
log_warn("Invalid values parameter sent to get_recordset_sql...") at /home/sonn/code/mahara/master/htdocs/lib/errors.php:745
SQLException->__construct("Invalid values parameter sent to get_recordset_sql...") at /home/sonn/code/mahara/master/htdocs/lib/dml.php:457
get_recordset_sql("SELECT * FROM "mh15_usr" WHERE LOWER(username) = ?", "u01", 0, 1) at /home/sonn/code/mahara/master/htdocs/lib/dml.php:211
record_exists_sql("SELECT * FROM "mh15_usr" WHERE LOWER(username) = ?", "u01") at /home/sonn/code/mahara/master/htdocs/lib/dml.php:197
record_exists_select("usr", "LOWER(username) = ?", "u01") at /home/sonn/code/mahara/master/htdocs/admin/users/uploadcsv.php:312
uploadcsv_validate(object(Pieform), array(size 19)) at Unknown:0
call_user_func_array("uploadcsv_validate", array(size 2)) at /home/sonn/code/mahara/master/htdocs/lib/pieforms/pieform.php:1382
Pieform->validate(array(size 19)) at /home/sonn/code/mahara/master/htdocs/lib/pieforms/pieform.php:505
Pieform->__construct(array(size 4)) at /home/sonn/code/mahara/master/htdocs/lib/pieforms/pieform.php:162
Pieform::process(array(size 4)) at /home/sonn/code/mahara/master/htdocs/lib/pieforms/pieform.php:71
pieform(array(size 4)) at /home/sonn/code/mahara/master/htdocs/admin/users/uploadcsv.php:589
The $values parameter passed to the function record_ exists_ select( ) must be an array