Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-39306

Error when trying to search courses by two words

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.5
    • 2.5
    • Course

      If user enters two words in course search box, the error occurs:

      ERROR: Incorrect number of query parameters. Expected 4, got 3.

      More information about this error
      Debug info:
      Error code: invalidqueryparam
      Stack trace:

      line 821 of /lib/dml/moodle_database.php: dml_exception thrown
      line 936 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->fix_sql_params()
      line 786 of /lib/datalib.php: call to mysqli_native_moodle_database->get_recordset_sql()
      line 1042 of /lib/coursecatlib.php: call to get_courses_search()
      line 1638 of /course/renderer.php: call to coursecat::search_courses()
      line 101 of /course/search.php: call to core_course_renderer->search_courses()

            skodak Petr Skoda
            marina Marina Glancy
            Dan Poltawski Dan Poltawski
            Adrian Greeve Adrian Greeve
            Votes:
            0 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.