← Back to team overview

mahara-contributors team mailing list archive

[Bug 1712681] Re: New topic in forum: createtopicusers error

 

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

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

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

** Changed in: mahara/17.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/1712681

Title:
  New topic in forum: createtopicusers error

Status in Mahara:
  In Progress
Status in Mahara 17.04 series:
  Confirmed
Status in Mahara 17.10 series:
  In Progress

Bug description:
  When we have old groups, the Forums may not have the
  'createtopicusers' property defined in the config. So the following
  error happens:

  When I want to create a topic in "Open Discussion" (I am a group
  admin), I get the following warning:

  [WAR] bd (interaction/forum/edittopic.php:70) Undefined index: createtopicusers
  Call stack (most recent first):

  log_message("Undefined index: createtopicusers", 8, true, true, "/var/www/mahara-org-testing-mahara/releases/201708...", 70) at /var/www/mahara-org-testing-mahara/releases/20170816213625/lib/errors.php:521
  error(8, "Undefined index: createtopicusers", "/var/www/mahara-org-testing-mahara/releases/201708...", 70, array(size 65)) at /var/www/mahara-org-testing-mahara/releases/20170816213625/interaction/forum/edittopic.php:70

  [WAR] bd (interaction/forum/edittopic.php:70) Trying to get property of non-object
  Call stack (most recent first):

  log_message("Trying to get property of non-object", 8, true, true, "/var/www/mahara-org-testing-mahara/releases/201708...", 70) at /var/www/mahara-org-testing-mahara/releases/20170816213625/lib/errors.php:521
  error(8, "Trying to get property of non-object", "/var/www/mahara-org-testing-mahara/releases/201708...", 70, array(size 65)) at /var/www/mahara-org-testing-mahara/releases/20170816213625/interaction/forum/edittopic.php:70

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


References