Can't edit pages if "Users can choose page themes" is enabled.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Unassigned | ||
16.04 |
Fix Released
|
High
|
Unassigned | ||
16.10 |
Fix Released
|
High
|
Unassigned |
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://
[Fri Jun 10 10:57:51 2016] [error] [client ] Call stack (most recent first):, referer: http://
[Fri Jun 10 10:57:51 2016] [error] [client ] * log_message(
[Fri Jun 10 10:57:51 2016] [error] [client ] * error(8, "Undefined variable: view", "/var/www/
[Fri Jun 10 10:57:51 2016] [error] [client ] * View->is_
[Fri Jun 10 10:57:51 2016] [error] [client ] , referer: http://
[Fri Jun 10 10:57:51 2016] [error] [client ] [WAR] c3 (lib/errors.
[Fri Jun 10 10:57:51 2016] [error] [client ] [WAR] c3 (lib/errors.
[Fri Jun 10 10:57:51 2016] [error] [client ] [WAR] c3 (lib/errors.
[Fri Jun 10 10:57:51 2016] [error] [client ] [WAR] c3 (lib/errors.
[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://
[Fri Jun 10 10:57:51 2016] [error] [client ] Call stack (most recent first):, referer: http://
[Fri Jun 10 10:57:51 2016] [error] [client ] * View->is_
[Fri Jun 10 10:57:51 2016] [error] [client ] , referer: http://
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.
Changed in mahara: | |
status: | Confirmed → In Progress |
summary: |
- is_themeable function is breaking page editing + Can't edit pages if "Users can choose page themes" is enabled. |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Changed in mahara: | |
milestone: | 16.10.0 → none |
Still need to confirm if it also affects 15.10.