← Back to team overview

mahara-contributors team mailing list archive

[Bug 1895901] [NEW] Getting PHP Fatal error: Cannot redeclare serve_file() when using sync_langpacks

 

Public bug reported:

This is because we are using require() instead of require_once() in
sync_langpacks.php

** Affects: mahara
     Importance: High
         Status: New

** Affects: mahara/19.04
     Importance: High
         Status: New

** Affects: mahara/19.10
     Importance: High
         Status: New

** Affects: mahara/20.04
     Importance: High
         Status: New

** Affects: mahara/20.10
     Importance: High
         Status: New

** Changed in: mahara
   Importance: Undecided => High

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

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

** Also affects: mahara/20.10
   Importance: High
       Status: New

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

** Changed in: mahara/20.04
   Importance: Undecided => High

** Changed in: mahara/19.10
   Importance: Undecided => High

** Changed in: mahara/19.04
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1895901

Title:
  Getting PHP Fatal error:  Cannot redeclare serve_file() when using
  sync_langpacks

Status in Mahara:
  New
Status in Mahara 19.04 series:
  New
Status in Mahara 19.10 series:
  New
Status in Mahara 20.04 series:
  New
Status in Mahara 20.10 series:
  New

Bug description:
  This is because we are using require() instead of require_once() in
  sync_langpacks.php

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


Follow ups