← Back to team overview

mahara-contributors team mailing list archive

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

 

** Changed in: mahara/22.10
       Status: Fix Committed => Fix Released

-- 
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:
  Fix Released
Status in Mahara 22.04 series:
  Fix Committed
Status in Mahara 22.10 series:
  Fix Released

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