← Back to team overview

mahara-contributors team mailing list archive

[Bug 1803194] A patch has been submitted for review

 

Patch for "master" branch: https://reviews.mahara.org/9321

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

Title:
  Error when creating automatic groups via LDAP

Status in Mahara:
  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
Status in Mahara 19.04 series:
  Fix Committed

Bug description:
  When I want to create automatic groups, I've this log :

   
  [WAR] c4 (lib/group.php:419) Undefined variable: USER
   
  Call stack (most recent first):

      log_message("Undefined variable: USER", 8, true, true, "/home/www/mahara/lib/group.php", 419) at /home/www/mahara/lib/errors.php:520
      error(8, "Undefined variable: USER", "/home/www/mahara/lib/group.php", 419, array(size 3)) at /home/www/mahara/lib/group.php:419
      group_create(array(size 15)) at /home/www/mahara/auth/ldap/lib.php:1498
      AuthLdap->sync_groups() at /home/www/mahara/auth/ldap/lib.php:1646
      PluginAuthLdap::auth_ldap_sync_cron() at /home/www/mahara/lib/mahara.php:1813
      call_static_method("PluginAuthLdap", "auth_ldap_sync_cron") at /home/www/mahara/lib/cron.php:115

  [WAR] c4 (lib/errors.php:535) [Error]: Call to a member function get() on null
  Call stack (most recent first):

      exception(object(Error)) at Unknown:0

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


References