← Back to team overview

mahara-contributors team mailing list archive

[Bug 1760742] Re: Empty foreach() error when switching a group from standard to course

 

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

** Also affects: mahara/18.04
   Importance: Medium
       Status: Fix Committed

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

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

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

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

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

** Changed in: mahara/18.10
    Milestone: None => 18.10.0

** Changed in: mahara/18.04
    Milestone: 18.10.0 => 18.04.0

** Changed in: mahara/17.10
    Milestone: None => 17.10.4

** Changed in: mahara/17.04
    Milestone: None => 17.04.7

** Changed in: mahara/18.10
       Status: New => Fix Committed

** Changed in: mahara/17.10
       Status: New => Fix Committed

** Changed in: mahara/17.04
       Status: New => Fix Committed

-- 
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/1760742

Title:
  Empty foreach() error when switching a group from standard to course

Status in Mahara:
  Fix Committed
Status in Mahara 17.04 series:
  Fix Committed
Status in Mahara 17.10 series:
  Fix Committed
Status in Mahara 18.04 series:
  Fix Committed
Status in Mahara 18.10 series:
  Fix Committed

Bug description:
  We get the following error
  AR] f6 (lib/group.php:714) Invalid argument supplied for foreach()
  Call stack (most recent first):

      log_message("Invalid argument supplied for foreach()", 8, true, true, "/home/robertl/code/mahara-devel/mahara/htdocs/lib/...", 714) at /home/robertl/code/mahara-devel/mahara/htdocs/lib/errors.php:521
      error(2, "Invalid argument supplied for foreach()", "/home/robertl/code/mahara-devel/mahara/htdocs/lib/...", 714, array(size 9)) at /home/robertl/code/mahara-devel/mahara/htdocs/lib/group.php:714
      group_update(object(stdClass)) at /home/robertl/code/mahara-devel/mahara/htdocs/group/edit.php:557
      editgroup_submit(object(Pieform), array(size 31)) at /home/robertl/code/mahara-devel/mahara/htdocs/lib/pieforms/pieform.php:542
      Pieform->__construct(array(size 4)) at /home/robertl/code/mahara-devel/mahara/htdocs/lib/pieforms/pieform.php:164
      Pieform::process(array(size 4)) at /home/robertl/code/mahara-devel/mahara/htdocs/lib/mahara.php:5077
      pieform(array(size 4)) at /home/robertl/code/mahara-devel/mahara/htdocs/group/edit.php:429

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


References