Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-3821

Manage courses page error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.2.4
    • 2.2.4
    • Local: Hub
    • None
    • MOODLE_22_STABLE
    • MOODLE_22_STABLE

      After deleting a course, http://hub.moodle.org/local/hub/admin/managecourses.php gives the error

      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 MySQL server version for the right syntax to use near ') AND site.id = course.siteid GROUP BY siteid' at line 1
      SELECT site.* FROM mdl_hub_course_directory course, mdl_hub_site_directory site WHERE course.id IN () AND site.id = course.siteid GROUP BY siteid
      [array (
      )]
      Stack trace:
      line 394 of /lib/dml/moodle_database.php: dml_read_exception thrown
      line 889 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
      line 225 of /local/hub/admin/managecourses.php: call to mysqli_native_moodle_database->get_records_sql()

            jerome Jérôme Mouneyrac
            tsala Helen Foster
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.