mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #17571
[Bug 1296915] [NEW] settings page error Undefined index: licensedefault
Public bug reported:
This is a regression.
The fix for: https://bugs.launchpad.net/mahara/+bug/1251089 has created
a new bug where if the site does NOT have License metadata config option
set it throws an error:
[WAR] ce (account/index.php:103) Undefined index: licensedefault
Call stack (most recent first):
log_message("Undefined index: licensedefault", 8, true, true, "/home/robertl/htdocs/mahara-testing/mahara/htdocs/...", 103) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/lib/errors.php:433
error(8, "Undefined index: licensedefault", "/home/robertl/htdocs/mahara-testing/mahara/htdocs/...", 103, array(size 55)) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/account/index.php:103
[WAR] ce (account/index.php:103) Undefined index: licensedefault
Call stack (most recent first):
log_message("Undefined index: licensedefault", 8, true, true, "/home/robertl/htdocs/mahara-testing/mahara/htdocs/...", 103) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/lib/errors.php:433
error(8, "Undefined index: licensedefault", "/home/robertl/htdocs/mahara-testing/mahara/htdocs/...", 103, array(size 55)) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/account/index.php:103
[WAR] ce (account/index.php:103) array_keys() expects parameter 1 to be array, null given
Call stack (most recent first):
log_message("array_keys() expects parameter 1 to be array, null...", 8, true, true, "/home/robertl/htdocs/mahara-testing/mahara/htdocs/...", 103) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/lib/errors.php:433
error(2, "array_keys() expects parameter 1 to be array, null...", "/home/robertl/htdocs/mahara-testing/mahara/htdocs/...", 103, array(size 55)) at Unknown:0
array_keys(null) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/account/index.php:103
[WAR] ce (account/index.php:103) array_search() expects parameter 2 to be array, null given
Call stack (most recent first):
log_message("array_search() expects parameter 2 to be array, nu...", 8, true, true, "/home/robertl/htdocs/mahara-testing/mahara/htdocs/...", 103) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/lib/errors.php:433
error(2, "array_search() expects parameter 2 to be array, nu...", "/home/robertl/htdocs/mahara-testing/mahara/htdocs/...", 103, array(size 55)) at Unknown:0
array_search(null, null) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/account/index.php:103
** Affects: mahara
Importance: High
Assignee: Robert Lyon (robertl-9)
Status: In Progress
** Tags: regression
--
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/1296915
Title:
settings page error Undefined index: licensedefault
Status in Mahara ePortfolio:
In Progress
Bug description:
This is a regression.
The fix for: https://bugs.launchpad.net/mahara/+bug/1251089 has
created a new bug where if the site does NOT have License metadata
config option set it throws an error:
[WAR] ce (account/index.php:103) Undefined index: licensedefault
Call stack (most recent first):
log_message("Undefined index: licensedefault", 8, true, true, "/home/robertl/htdocs/mahara-testing/mahara/htdocs/...", 103) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/lib/errors.php:433
error(8, "Undefined index: licensedefault", "/home/robertl/htdocs/mahara-testing/mahara/htdocs/...", 103, array(size 55)) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/account/index.php:103
[WAR] ce (account/index.php:103) Undefined index: licensedefault
Call stack (most recent first):
log_message("Undefined index: licensedefault", 8, true, true, "/home/robertl/htdocs/mahara-testing/mahara/htdocs/...", 103) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/lib/errors.php:433
error(8, "Undefined index: licensedefault", "/home/robertl/htdocs/mahara-testing/mahara/htdocs/...", 103, array(size 55)) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/account/index.php:103
[WAR] ce (account/index.php:103) array_keys() expects parameter 1 to be array, null given
Call stack (most recent first):
log_message("array_keys() expects parameter 1 to be array, null...", 8, true, true, "/home/robertl/htdocs/mahara-testing/mahara/htdocs/...", 103) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/lib/errors.php:433
error(2, "array_keys() expects parameter 1 to be array, null...", "/home/robertl/htdocs/mahara-testing/mahara/htdocs/...", 103, array(size 55)) at Unknown:0
array_keys(null) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/account/index.php:103
[WAR] ce (account/index.php:103) array_search() expects parameter 2 to be array, null given
Call stack (most recent first):
log_message("array_search() expects parameter 2 to be array, nu...", 8, true, true, "/home/robertl/htdocs/mahara-testing/mahara/htdocs/...", 103) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/lib/errors.php:433
error(2, "array_search() expects parameter 2 to be array, nu...", "/home/robertl/htdocs/mahara-testing/mahara/htdocs/...", 103, array(size 55)) at Unknown:0
array_search(null, null) at /home/robertl/htdocs/mahara-testing/mahara/htdocs/account/index.php:103
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1296915/+subscriptions
Follow ups
-
[Bug 1296915] Re: settings page error Undefined index: licensedefault
From: Robert Lyon, 2014-04-22
-
[Bug 1296915] Re: settings page error Undefined index: licensedefault
From: Robert Lyon, 2014-04-02
-
[Bug 1296915] A change has been merged
From: Mahara Bot, 2014-03-31
-
[Bug 1296915] A patch has been submitted for review
From: Mahara Bot, 2014-03-30
-
[Bug 1296915] A change has been merged
From: Mahara Bot, 2014-03-27
-
[Bug 1296915] A change has been merged
From: Mahara Bot, 2014-03-27
-
[Bug 1296915] A change has been merged
From: Mahara Bot, 2014-03-27
-
[Bug 1296915] A patch has been submitted for review
From: Mahara Bot, 2014-03-27
-
[Bug 1296915] A patch has been submitted for review
From: Mahara Bot, 2014-03-26
-
[Bug 1296915] Re: settings page error Undefined index: licensedefault
From: Aaron Wells, 2014-03-25
-
[Bug 1296915] [NEW] settings page error Undefined index: licensedefault
From: Robert Lyon, 2014-03-24
References