Call stack errors on site statistics
Bug #1486309 reported by
qapeeps
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Unassigned |
Bug Description
When I logged in as a Site Staff user and I went to Site information>user search>site statistics and the page shows a page of errors
I have attached a screen shot so you can see.
Linux
Post gres
Firefox
If you need any more info then ask Dean
Changed in mahara: | |
status: | Confirmed → In Progress |
milestone: | none → 17.04.0 |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I get the warning below when:
1. Log in as site staff.
2. Go to site information -> Site statistics
3. Choose the "Pages" tab on the right.
[WAR] 4e (lib/user.php:1908) Undefined variable: urlid
Call stack (most recent first):
log_ message( "Undefined variable: urlid", 8, true, true, "/home/ kristina/ code/mahara/ htdocs/ lib/user. php", 1908) at /home/kristina/ code/mahara/ htdocs/ lib/errors. php:513 kristina/ code/mahara/ htdocs/ lib/user. php", 1908, array(size 4)) at /home/kristina/ code/mahara/ htdocs/ lib/user. php:1908 url(false, false) at /home/kristina/ code/mahara/ htdocs/ lib/view. php:5716 >get_url( false) at /home/kristina/ code/mahara/ htdocs/ lib/view. php:5165 :get_extra_ view_info( array(size 5), false, false) at /home/kristina/ code/mahara/ htdocs/ lib/registratio n.php:1240 stats_table( 10, 0) at /home/kristina/ code/mahara/ htdocs/ lib/registratio n.php:1175 statistics( 10, 0) at /home/kristina/ code/mahara/ htdocs/ admin/statistic s.php:60
error(8, "Undefined variable: urlid", "/home/
profile_
View-
View:
view_
view_
[WAR] 4e (lib/user.php:1917) Undefined variable: id
Call stack (most recent first):
log_ message( "Undefined variable: id", 8, true, true, "/home/ kristina/ code/mahara/ htdocs/ lib/user. php", 1917) at /home/kristina/ code/mahara/ htdocs/ lib/errors. php:513 kristina/ code/mahara/ htdocs/ lib/user. php", 1917, array(size 4)) at /home/kristina/ code/mahara/ htdocs/ lib/user. php:1917 url(false, false) at /home/kristina/ code/mahara/ htdocs/ lib/view. php:5716 >get_url( false) at /home/kristina/ code/mahara/ htdocs/ lib/view. php:5165 :get_extra_ view_info( array(size 5), false, false) at /home/kristina/ code/mahara/ htdocs/ lib/registratio n.php:1240 stats_table( 10, 0) at /home/kristina/ code/mahara/ htdocs/ lib/registratio n.php:1175 statistics( 10, 0) at /home/kristina/ code/mahara/ htdocs/ admin/statistic s.php:60
error(8, "Undefined variable: id", "/home/
profile_
View-
View:
view_
view_
[WAR] 4e (lib/user.php:1921) profile_url called with no user id
Call stack (most recent first):
profile_ url(false, false) at /home/kristina/ code/mahara/ htdocs/ lib/view. php:5716 >get_url( false) at /home/kristina/ code/mahara/ htdocs/ lib/view. php:5165 :get_extra_ view_info( array(size 5), false, false) at /home/kristina/ code/mahara/ htdocs/ lib/registratio n.php:1240 stats_table( 10, 0) at /home/kristina/ code/mahara/ htdocs/ lib/registratio n.php:1175 statistics( 10, 0) at /home/kristina/ code/mahara/ htdocs/ admin/statistic s.php:60
View-
View:
view_
view_