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

undefined var $sqlwhere when running automated backups

XMLWordPrintable

    • MOODLE_25_STABLE
    • MOODLE_24_STABLE, MOODLE_25_STABLE, MOODLE_26_STABLE
    • MDL-42427-master
    • Hide
      1. Log in as admin
      2. Ensure there are multiple courses created on your site.
      3. Set the following site configuration settings...
        backup_auto_active - manual
        backup_auto_storage - specified directory
        backup_auto_destination - path to some writeable dir
        backup_auto_skip_modif_prev - checked
        backup_auto_skip_modif_days - never
      4. Run the script php admin/cli/automated_backups.php and make sure no errors or notices are generated.
      5. Run the script php admin/cli/automated_backups.php again and make sure no errors or notices are generated.
      Show
      Log in as admin Ensure there are multiple courses created on your site. Set the following site configuration settings... backup_auto_active - manual backup_auto_storage - specified directory backup_auto_destination - path to some writeable dir backup_auto_skip_modif_prev - checked backup_auto_skip_modif_days - never Run the script php admin/cli/automated_backups.php and make sure no errors or notices are generated. Run the script php admin/cli/automated_backups.php again and make sure no errors or notices are generated.
    • BACKEND Sprint 6

      automated backups produce following notice:-

      Notice: Undefined variable: sqlwhere in /var/www/int/25/moodle/backup/util/helper/backup_cron_helper.class.php on line 172
       
      Call Stack:
          0.0002     241200   1. {main}() /var/www/int/25/moodle/admin/cli/automated_backups.php:0
          0.2096   29878800   2. backup_cron_automated_helper::run_automated_backup() /var/www/int/25/moodle/admin/cli/automated_backups.php:95

            ankit_frenz Ankit Agarwal
            ankit_frenz Ankit Agarwal
            Mark Nelson Mark Nelson
            Marina Glancy Marina Glancy
            Rossiani Wijaya Rossiani Wijaya
            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.