mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #35872
[Bug 1591304] Re: is_themeable function is breaking page editing
** Changed in: mahara
Status: Confirmed => In Progress
--
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:
In Progress
Status in Mahara 16.04 series:
Confirmed
Status in Mahara 16.10 series:
In Progress
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
References