← Back to team overview

mahara-contributors team mailing list archive

[Bug 1980291] Re: file_cleanup_old_temp_files() causing an error

 

** Also affects: mahara/22.10
   Importance: Medium
       Status: In Progress

** Also affects: mahara/22.04
   Importance: Undecided
       Status: New

** Changed in: mahara/22.04
   Importance: Undecided => Medium

** Changed in: mahara/22.04
       Status: New => Confirmed

** Changed in: mahara/22.04
    Milestone: None => 22.04.3

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1980291

Title:
  file_cleanup_old_temp_files() causing an error

Status in Mahara:
  In Progress
Status in Mahara 22.04 series:
  Confirmed
Status in Mahara 22.10 series:
  In Progress

Bug description:
  The following is appearing in the logs when cron runs

  [WAR] 7e (lib/file.php:973) Undefined offset: 0
  Call stack (most recent first):
  • log_message(string(size 19), integer, true, true, string(size 33), integer) at /var/www/html/mahara/lib/errors.php:515
  • error(integer, string(size 19), string(size 33), integer, array(size 3)) at /var/www/html/mahara/lib/file.php:973
  • file_cleanup_old_temp_files() at /var/www/html/mahara/lib/cron.php:201

  This is caused by some incorrect code

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1980291/+subscriptions



References