Imported some pictures in via a zip file - try to edit them....
Warning: current() expects parameter 1 to be array, null given in C:\inetpub\wwwroot\moodle\mod\dataform\entries_class.php on line 1014 Warning: current() expects parameter 1 to be array, null given in C:\inetpub\wwwroot\moodle\mod\dataform\entries_class.php on line 1014 Warning: current() expects parameter 1 to be array, null given in C:\inetpub\wwwroot\moodle\mod\dataform\entries_class.php on line 1014 Warning: current() expects parameter 1 to be array, null given in C:\inetpub\wwwroot\moodle\mod\dataform\entries_class.php on line 1014 Warning: current() expects parameter 1 to be array, null given in C:\inetpub\wwwroot\moodle\mod\dataform\entries_class.php on line 1014 Warning: current() expects parameter 1 to be array, null given in C:\inetpub\wwwroot\moodle\mod\dataform\entries_class.php on line 1014 Warning: current() expects parameter 1 to be array, null given in C:\inetpub\wwwroot\moodle\mod\dataform\entries_class.php on line 1014 Warning: current() expects parameter 1 to be array, null given in C:\inetpub\wwwroot\moodle\mod\dataform\entries_class.php on line 1014 Warning: current() expects parameter 1 to be array, null given in C:\inetpub\wwwroot\moodle\mod\dataform\entries_class.php on line 1014 Warning: current() expects parameter 1 to be array, null given in
and also a database error
Debug info: SQLState: 42000
Error Code: 8127
Message: [Microsoft][SQL Server Native Client 10.0][SQL Server]Column "mdl_dataform_entries.timecreated" is invalid in the ORDER BY clause because it is not contained in either an aggregate function or the GROUP BY clause.
SELECT COUNT(e.id) FROM mdl_dataform_entries e
JOIN mdl_user u ON u.id = e.userid
LEFT JOIN mdl_groups g ON g.id = e.groupid LEFT JOIN mdl_dataform_contents c1 ON (c1.entryid = e.id AND c1.fieldid = 1) WHERE e.dataid = '1' AND e.grading = '0' AND e.id <= '1' ORDER BY e.timecreated ASC
[array (
0 => '1',
1 => 0,
2 => 1,
)]
Stack trace:
line 394 of \lib\dml\moodle_database.php: dml_read_exception thrown
line 252 of \lib\dml\sqlsrv_native_moodle_database.php: call to moodle_database->query_end()
line 368 of \lib\dml\sqlsrv_native_moodle_database.php: call to sqlsrv_native_moodle_database->query_end()
line 773 of \lib\dml\sqlsrv_native_moodle_database.php: call to sqlsrv_native_moodle_database->do_query()
line 807 of \lib\dml\sqlsrv_native_moodle_database.php: call to sqlsrv_native_moodle_database->get_recordset_sql()
line 566 of \mod\dataform\entries_class.php: call to sqlsrv_native_moodle_database->get_records_sql()
line 212 of \mod\dataform\entries_class.php: call to dataform_entries->get_entries()
line 264 of \mod\dataform\view\view_class.php: call to dataform_entries->set_content()
line 486 of \mod\dataform\mod_class.php: call to dataform_view_base->display()
line 65 of \mod\dataform\view.php: call to dataform->display()
Imported some pictures in via a zip file - try to edit them....
Warning: current() expects parameter 1 to be array, null given in C:\inetpub\wwwroot\moodle\mod\dataform\entries_class.php on line 1014 Warning: current() expects parameter 1 to be array, null given in C:\inetpub\wwwroot\moodle\mod\dataform\entries_class.php on line 1014 Warning: current() expects parameter 1 to be array, null given in C:\inetpub\wwwroot\moodle\mod\dataform\entries_class.php on line 1014 Warning: current() expects parameter 1 to be array, null given in C:\inetpub\wwwroot\moodle\mod\dataform\entries_class.php on line 1014 Warning: current() expects parameter 1 to be array, null given in C:\inetpub\wwwroot\moodle\mod\dataform\entries_class.php on line 1014 Warning: current() expects parameter 1 to be array, null given in C:\inetpub\wwwroot\moodle\mod\dataform\entries_class.php on line 1014 Warning: current() expects parameter 1 to be array, null given in C:\inetpub\wwwroot\moodle\mod\dataform\entries_class.php on line 1014 Warning: current() expects parameter 1 to be array, null given in C:\inetpub\wwwroot\moodle\mod\dataform\entries_class.php on line 1014 Warning: current() expects parameter 1 to be array, null given in C:\inetpub\wwwroot\moodle\mod\dataform\entries_class.php on line 1014 Warning: current() expects parameter 1 to be array, null given in
and also a database error
Debug info: SQLState: 42000
Error Code: 8127
Message: [Microsoft][SQL Server Native Client 10.0][SQL Server]Column "mdl_dataform_entries.timecreated" is invalid in the ORDER BY clause because it is not contained in either an aggregate function or the GROUP BY clause.
SELECT COUNT(e.id) FROM mdl_dataform_entries e JOIN mdl_user u ON u.id = e.userid LEFT JOIN mdl_groups g ON g.id = e.groupid LEFT JOIN mdl_dataform_contents c1 ON (c1.entryid = e.id AND c1.fieldid = 1) WHERE e.dataid = '1' AND e.grading = '0' AND e.id <= '1' ORDER BY e.timecreated ASC [array ( 0 => '1', 1 => 0, 2 => 1, )] Stack trace: line 394 of \lib\dml\moodle_database.php: dml_read_exception thrown line 252 of \lib\dml\sqlsrv_native_moodle_database.php: call to moodle_database->query_end() line 368 of \lib\dml\sqlsrv_native_moodle_database.php: call to sqlsrv_native_moodle_database->query_end() line 773 of \lib\dml\sqlsrv_native_moodle_database.php: call to sqlsrv_native_moodle_database->do_query() line 807 of \lib\dml\sqlsrv_native_moodle_database.php: call to sqlsrv_native_moodle_database->get_recordset_sql() line 566 of \mod\dataform\entries_class.php: call to sqlsrv_native_moodle_database->get_records_sql() line 212 of \mod\dataform\entries_class.php: call to dataform_entries->get_entries() line 264 of \mod\dataform\view\view_class.php: call to dataform_entries->set_content() line 486 of \mod\dataform\mod_class.php: call to dataform_view_base->display() line 65 of \mod\dataform\view.php: call to dataform->display()