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

Notice in pluginlib.php (undefined index target)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.3.1
    • 2.3
    • Administration
    • MOODLE_23_STABLE
    • MOODLE_23_STABLE
    • Hide

      Check for available updates at both 2.3 and 2.4dev branches. Make sure no PHP notice is thrown.

      Show
      Check for available updates at both 2.3 and 2.4dev branches. Make sure no PHP notice is thrown.

      While updating via the command line, this notice appeared a thousand (ish) times.

      PHP Notice:  Undefined index: target in /home/fred/www/repositories/testing_master/moodle/lib/pluginlib.php on line 814

      This is the context of the line 814

      if (empty($response['forbranch']) or $response['forbranch'] !== moodle_major_version(true)) {
          throw new available_update_checker_exception('err_response_target_version', $response['target']);
      }

      (Happened on stable master and master integration)

            mudrd8mz David Mudrák (@mudrd8mz)
            fred Frédéric Massart
            Dan Poltawski Dan Poltawski
            Frédéric Massart Frédéric Massart
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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