PSG International School

PSG International School

mUniversity

Error reading from database

More information about this error

Debug info: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY f.id DESC LIMIT 1' at line 2
SELECT f.* FROM mdl_files f WHERE f.mimetype IS NOT NULL AND component = "course"
AND f.itemid = ORDER BY f.id DESC LIMIT 1
[array (
)]
Error code: dmlreadexception
Stack trace:
  • line 423 of /lib/dml/moodle_database.php: dml_read_exception thrown
  • line 1005 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
  • line 1397 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_records_sql()
  • line 425 of /course/preview.php: call to moodle_database->get_record_sql()
Output buffer: <tr> <td width="140"><strong style="padding-left:3px;">Start date:</strong> </th> <td>Jul 28, 2020</td> </tr> </table> <div class="col-sm-12" style="text-align:center; padding-top:27px;"> <a href="https://municampus.com/login" class="btn btn-warning">Apply</a> </div> </div> </div> </div> </div> <div class="col-sm-8"> <div style="width:100%; float:left;"> <h4 class="programTitle">English</h4> <div class="course-single-img">
mUni