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
    error(8, "Undefined variable: urlid", 
"/home/kristina/code/mahara/htdocs/lib/user.php", 1908, array(size 4)) at 
/home/kristina/code/mahara/htdocs/lib/user.php:1908
    profile_url(false, false) at 
/home/kristina/code/mahara/htdocs/lib/view.php:5716
    View->get_url(false) at /home/kristina/code/mahara/htdocs/lib/view.php:5165
    View::get_extra_view_info(array(size 5), false, false) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1240
    view_stats_table(10, 0) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1175
    view_statistics(10, 0) at 
/home/kristina/code/mahara/htdocs/admin/statistics.php:60

[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
    error(8, "Undefined variable: id", 
"/home/kristina/code/mahara/htdocs/lib/user.php", 1917, array(size 4)) at 
/home/kristina/code/mahara/htdocs/lib/user.php:1917
    profile_url(false, false) at 
/home/kristina/code/mahara/htdocs/lib/view.php:5716
    View->get_url(false) at /home/kristina/code/mahara/htdocs/lib/view.php:5165
    View::get_extra_view_info(array(size 5), false, false) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1240
    view_stats_table(10, 0) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1175
    view_statistics(10, 0) at 
/home/kristina/code/mahara/htdocs/admin/statistics.php:60

[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
    View->get_url(false) at /home/kristina/code/mahara/htdocs/lib/view.php:5165
    View::get_extra_view_info(array(size 5), false, false) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1240
    view_stats_table(10, 0) at 
/home/kristina/code/mahara/htdocs/lib/registration.php:1175
    view_statistics(10, 0) at 
/home/kristina/code/mahara/htdocs/admin/statistics.php:60


** Changed in: mahara
       Status: New => Confirmed

** Changed in: mahara
   Importance: Undecided => High

-- 
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/1486309

Title:
  Call stack errors on site statistics

Status in Mahara:
  Confirmed

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1486309/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : mahara-contributors@lists.launchpad.net
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to