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

Cleaning old sessions from cache not working ( and raise warnings if no sessions found)

Details

    • MOODLE_311_STABLE, MOODLE_400_STABLE
    • MOODLE_401_STABLE
    • MOODLE_402_STABLE
    • MOODLE_403_STABLE
    • Hide

      Configure your moodle installation to use Default session store for Session Mode cache definitions
      displays the course managment page and display dashboard with calendar block
      No keys will be accessible by the task causes default session store is user related
      when running, cache_cron_task shouldn't raise warnings.

      Configure your moodle installation to use Default application store (or redis) for Session Mode cache definitions
      Log in
      displays the course managment page and display dashboard with calendar block
      after $CFG->sessiontimeout seconds without any user logged in on platform, cache_cron_task shouldn't raise warnings and existing keys should be cleanning
      Task should trace messages like

      • Removed 14 old core/coursecat sessions from the 'default_application' cache store.
      Show
      Configure your moodle installation to use Default session store for Session Mode cache definitions displays the course managment page and display dashboard with calendar block No keys will be accessible by the task causes default session store is user related when running, cache_cron_task shouldn't raise warnings. Configure your moodle installation to use Default application store (or redis) for Session Mode cache definitions Log in displays the course managment page and display dashboard with calendar block after $CFG->sessiontimeout seconds without any user logged in on platform, cache_cron_task shouldn't raise warnings and existing keys should be cleanning Task should trace messages like Removed 14 old core/coursecat sessions from the 'default_application' cache store.

    Description

      It seems to be rare to occurs but it can occurs, specially on our development and pre-production platforms.

      PHP Warning: Invalid argument supplied for foreach() in /var/www/cache/classes/helper.php on line 743
      PHP Warning: Invalid argument supplied for foreach() in /var/www/cache/classes/helper.php on line 743
      PHP Warning: Invalid argument supplied for foreach() in /var/www/cache/classes/helper.php on line 743
      PHP Warning: Invalid argument supplied for foreach() in /var/www/cache/classes/helper.php on line 743
      PHP Warning: Invalid argument supplied for foreach() in /var/www/cache/classes/helper.php on line 743
      PHP Warning: Invalid argument supplied for foreach() in /var/www/cache/classes/helper.php on line 743
      PHP Warning: Invalid argument supplied for foreach() in /var/www/cache/classes/helper.php on line 743
      PHP Warning: Invalid argument supplied for foreach() in /var/www/cache/classes/helper.php on line 743
      PHP Warning: Invalid argument supplied for foreach() in /var/www/cache/classes/helper.php on line 743
      

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rlemaire Renaud Lemaire
              Votes:
              6 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 30 minutes
                  30m

                  Clockify

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