mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #35856
[Bug 1591304] [NEW] is_themeable function is breaking page editing
Public bug reported:
Updated from 15.04.5 to 16.04.2 and ran into this issue when editing any
page:
[Fri Jun 10 10:57:51 2016] [error] [client ] [WAR] c3 (lib/view.php:5999) Undefined variable: view, referer: http://learningdev.campus.up.edu/mahara1604/view/index.php
[Fri Jun 10 10:57:51 2016] [error] [client ] Call stack (most recent first):, referer: http://learningdev.campus.up.edu/mahara1604/view/index.php
[Fri Jun 10 10:57:51 2016] [error] [client ] * log_message("Undefined variable: view", 8, true, true, "/var/www/html/mahara1604/lib/view.php", 5999) at /var/www/html/mahara1604/lib/errors.php:489, referer: http://learningdev.campus.up.edu/mahara1604/view/index.php
[Fri Jun 10 10:57:51 2016] [error] [client ] * error(8, "Undefined variable: view", "/var/www/html/mahara1604/lib/view.php", 5999, array(size 1)) at /var/www/html/mahara1604/lib/view.php:5999, referer: http://learningdev.campus.up.edu/mahara1604/view/index.php
[Fri Jun 10 10:57:51 2016] [error] [client ] * View->is_themeable() at /var/www/html/mahara1604/view/blocks.php:271, referer: http://learningdev.campus.up.edu/mahara1604/view/index.php
[Fri Jun 10 10:57:51 2016] [error] [client ] , referer: http://learningdev.campus.up.edu/mahara1604/view/index.php
[Fri Jun 10 10:57:51 2016] [error] [client ] [WAR] c3 (lib/errors.php:508) An exception was thrown of class Error. , referer: http://learningdev.campus.up.edu/mahara1604/view/index.php
[Fri Jun 10 10:57:51 2016] [error] [client ] [WAR] c3 (lib/errors.php:508) THIS IS BAD and should be changed to something extending MaharaException,, referer: http://learningdev.campus.up.edu/mahara1604/view/index.php
[Fri Jun 10 10:57:51 2016] [error] [client ] [WAR] c3 (lib/errors.php:508) unless the exception is from a third party library., referer: http://learningdev.campus.up.edu/mahara1604/view/index.php
[Fri Jun 10 10:57:51 2016] [error] [client ] [WAR] c3 (lib/errors.php:508) Original trace follows, referer: http://learningdev.campus.up.edu/mahara1604/view/index.php
[Fri Jun 10 10:57:51 2016] [error] [client ] [WAR] c3 (lib/view.php:5999) Call to a member function get() on null, referer: http://learningdev.campus.up.edu/mahara1604/view/index.php
[Fri Jun 10 10:57:51 2016] [error] [client ] Call stack (most recent first):, referer: http://learningdev.campus.up.edu/mahara1604/view/index.php
[Fri Jun 10 10:57:51 2016] [error] [client ] * View->is_themeable() at /var/www/html/mahara1604/view/blocks.php:271, referer: http://learningdev.campus.up.edu/mahara1604/view/index.php
[Fri Jun 10 10:57:51 2016] [error] [client ] , referer: http://learningdev.campus.up.edu/mahara1604/view/index.php
Before I got this error, I got a message about a user's theme not being
available and it asked me to switch to a different one. After switching,
this is the error that occurred. It seems to be happening on any page I
try to edit and any new page I attempt to create.
** Affects: mahara
Importance: Undecided
Status: New
--
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/1591304
Title:
is_themeable function is breaking page editing
Status in Mahara:
New
Bug description:
Updated from 15.04.5 to 16.04.2 and ran into this issue when editing
any page:
[Fri Jun 10 10:57:51 2016] [error] [client ] [WAR] c3 (lib/view.php:5999) Undefined variable: view, referer: http://learningdev.campus.up.edu/mahara1604/view/index.php
[Fri Jun 10 10:57:51 2016] [error] [client ] Call stack (most recent first):, referer: http://learningdev.campus.up.edu/mahara1604/view/index.php
[Fri Jun 10 10:57:51 2016] [error] [client ] * log_message("Undefined variable: view", 8, true, true, "/var/www/html/mahara1604/lib/view.php", 5999) at /var/www/html/mahara1604/lib/errors.php:489, referer: http://learningdev.campus.up.edu/mahara1604/view/index.php
[Fri Jun 10 10:57:51 2016] [error] [client ] * error(8, "Undefined variable: view", "/var/www/html/mahara1604/lib/view.php", 5999, array(size 1)) at /var/www/html/mahara1604/lib/view.php:5999, referer: http://learningdev.campus.up.edu/mahara1604/view/index.php
[Fri Jun 10 10:57:51 2016] [error] [client ] * View->is_themeable() at /var/www/html/mahara1604/view/blocks.php:271, referer: http://learningdev.campus.up.edu/mahara1604/view/index.php
[Fri Jun 10 10:57:51 2016] [error] [client ] , referer: http://learningdev.campus.up.edu/mahara1604/view/index.php
[Fri Jun 10 10:57:51 2016] [error] [client ] [WAR] c3 (lib/errors.php:508) An exception was thrown of class Error. , referer: http://learningdev.campus.up.edu/mahara1604/view/index.php
[Fri Jun 10 10:57:51 2016] [error] [client ] [WAR] c3 (lib/errors.php:508) THIS IS BAD and should be changed to something extending MaharaException,, referer: http://learningdev.campus.up.edu/mahara1604/view/index.php
[Fri Jun 10 10:57:51 2016] [error] [client ] [WAR] c3 (lib/errors.php:508) unless the exception is from a third party library., referer: http://learningdev.campus.up.edu/mahara1604/view/index.php
[Fri Jun 10 10:57:51 2016] [error] [client ] [WAR] c3 (lib/errors.php:508) Original trace follows, referer: http://learningdev.campus.up.edu/mahara1604/view/index.php
[Fri Jun 10 10:57:51 2016] [error] [client ] [WAR] c3 (lib/view.php:5999) Call to a member function get() on null, referer: http://learningdev.campus.up.edu/mahara1604/view/index.php
[Fri Jun 10 10:57:51 2016] [error] [client ] Call stack (most recent first):, referer: http://learningdev.campus.up.edu/mahara1604/view/index.php
[Fri Jun 10 10:57:51 2016] [error] [client ] * View->is_themeable() at /var/www/html/mahara1604/view/blocks.php:271, referer: http://learningdev.campus.up.edu/mahara1604/view/index.php
[Fri Jun 10 10:57:51 2016] [error] [client ] , referer: http://learningdev.campus.up.edu/mahara1604/view/index.php
Before I got this error, I got a message about a user's theme not
being available and it asked me to switch to a different one. After
switching, this is the error that occurred. It seems to be happening
on any page I try to edit and any new page I attempt to create.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1591304/+subscriptions
Follow ups
-
[Bug 1591304] Re: Can't edit pages if "Users can choose page themes" is enabled.
From: Robert Lyon, 2016-10-21
-
[Bug 1591304] Re: Can't edit pages if "Users can choose page themes" is enabled.
From: Robert Lyon, 2016-10-21
-
[Bug 1591304] Re: Can't edit pages if "Users can choose page themes" is enabled.
From: Robert Lyon, 2016-07-11
-
[Bug 1591304] Re: Can't edit pages if "Users can choose page themes" is enabled.
From: Aaron Wells, 2016-06-22
-
[Bug 1591304] A change has been merged
From: Mahara Bot, 2016-06-13
-
[Bug 1591304] Re: is_themeable function is breaking page editing
From: Robert Lyon, 2016-06-13
-
[Bug 1591304] Re: is_themeable function is breaking page editing
From: Kristina Hoeppner, 2016-06-13
-
[Bug 1591304] A patch has been submitted for review
From: Mahara Bot, 2016-06-13
-
[Bug 1591304] A change has been merged
From: Mahara Bot, 2016-06-13
-
[Bug 1591304] Re: is_themeable function is breaking page editing
From: Son Nguyen, 2016-06-13
-
[Bug 1591304] A patch has been submitted for review
From: Mahara Bot, 2016-06-12
-
[Bug 1591304] Re: is_themeable function is breaking page editing
From: Robert Lyon, 2016-06-12
-
[Bug 1591304] Re: is_themeable function is breaking page editing
From: Kristina Hoeppner, 2016-06-12
-
[Bug 1591304] Re: is_themeable function is breaking page editing
From: Kristina Hoeppner, 2016-06-12