You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using MOODLE_28_STABLE branch and receiving the coding error when browsing support tickets and the logs provide the following info:
Default exception handler: Coding error detected, it must be fixed by a programmer: PHP catchable fatal error Debug: Argument 3 passed to moodle_database::get_records_list() must be of the type array, string given, called in [dirroot]/mod/tracker/views/viewanissue.html on line 276 and defined
Error code: codingerror
* line 393 of /lib/setuplib.php: coding_exception thrown
* line 1276 of /lib/dml/moodle_database.php: call to default_error_handler()
* line 276 of /mod/tracker/views/viewanissue.html: call to moodle_database->get_records_list()
* line 186 of /mod/tracker/view.php: call to include()
, referer: http://www.crossfieldslearning.com/mod/tracker/view.php?id=1984&view=view&screen=browse
Managed to fix by changing [dirroot]/mod/tracker/views/viewanissue.html on line 276
if ($subtrackers = $DB->get_records_list('tracker', array('id' => $tracker->subtrackers), 'name', 'id,name,course')) {
to
if ($subtrackers = $DB->get_records_list('tracker','id', tracker->subtrackers, 'name', 'id,name,course')) {
The text was updated successfully, but these errors were encountered:
Using MOODLE_28_STABLE branch and receiving the coding error when browsing support tickets and the logs provide the following info:
Managed to fix by changing [dirroot]/mod/tracker/views/viewanissue.html on line 276
to
The text was updated successfully, but these errors were encountered: