Hello,
Recently, I got an assigment to upgrade an outdated Moodle platform to the latest version.
From version 2.4.1 -> 3.1.2.
To version 2.9.8 everything went smoothly, no major problems just only just no compatibility with some outdated plugins.
Real problems arose after upgrading from 2.9.8 to 3.0 and higher.
All courses containing SCORM packages, are not available, I have the following error.
Debug info: Unknown column 'sortorder' in 'order clause'
SELECT * FROM mdl_scorm_scoes WHERE scorm = ? ORDER BY sortorder, id
[array (
0 => '598',
)]
Error code: dmlreadexception
Stack trace:
line 474 of /lib/dml/moodle_database.php: dml_read_exception thrown
line 1088 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
line 1356 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_records_sql()
line 1307 of /lib/dml/moodle_database.php: call to moodle_database->get_records_select()
line 713 of /mod/scorm/locallib.php: call to moodle_database->get_records()
line 1255 of /mod/scorm/locallib.php: call to scorm_grade_user_attempt()
line 157 of /mod/scorm/view.php: call to scorm_get_attempt_status()
I've been trying to resolve this problem on internet without any luck. Can some help me with this issue?