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

Updated Progress Bar to latest version cause an error of database


    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • 2.7.13
    • Block: Progress
    • None
    • 2016041300

      Updated Progress Bar to latest version last day. Running 2.7.13+.
      This cause an error of database for the courses containing assignment(s) connected to the progressbar.

      {{Debug info: Unknown column 'latest' in 'where clause'
      SELECT id
      FROM mdl_assign_submission
      WHERE assignment = ?
      AND userid = ?
      AND latest = 1
      AND status = 'submitted' LIMIT 0, 1
      [array (
      0 => '380',
      1 => '2',

      Error code: dmlreadexception
      Stack trace:

      line 443 of /lib/dml/moodle_database.php: dml_read_exception thrown
      line 1019 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
      line 1807 of /lib/dml/moodle_database.php: call to mysqli_native_moodle_database->get_recordset_sql()
      line 1287 of /blocks/progress/lib.php: call to moodle_database->record_exists_sql()
      line 256 of /blocks/progress/block_progress.php: call to block_progress_attempts()
      line 294 of /blocks/moodleblock.class.php: call to block_progress->get_content()
      line 236 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
      line 1002 of /lib/blocklib.php: call to block_base->get_content_for_output()
      line 1054 of /lib/blocklib.php: call to block_manager->create_block_contents()
      line 369 of /lib/outputrenderers.php: call to block_manager->ensure_content_created()
      line 36 of /theme/essential/layout/includes/header.php: call to core_renderer->standard_head_html()
      line 27 of /theme/essential/layout/columns3.php: call to require_once()
      line 885 of /lib/outputrenderers.php: call to include()
      line 815 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
      line 245 of /course/view.php: call to core_renderer->header()


            salvetore Michael de Raadt
            remya Anne Garnavault Remy
            0 Vote for this issue
            1 Start watching this issue


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