← Back to team overview

mahara-contributors team mailing list archive

[Bug 1704235] [NEW] Undefined variable: id statistics

 

*** This bug is a duplicate of bug 1702434 ***
    https://bugs.launchpad.net/bugs/1702434

Public bug reported:

Mahara 16.10.4 with a clean DB

Go to Administration -> Site statistics -> Pages

we see the error:

[WAR] 44 (lib/user.php:1914) Undefined variable: id
Call stack (most recent first):

    log_message("Undefined variable: id", 8, true, true, "/home/ceciliavg/maharacode/mahara/htdocs/lib/user....", 1914) at /home/ceciliavg/maharacode/mahara/htdocs/lib/errors.php:513
    error(8, "Undefined variable: id", "/home/ceciliavg/maharacode/mahara/htdocs/lib/user....", 1914, array(size 4)) at /home/ceciliavg/maharacode/mahara/htdocs/lib/user.php:1914
    profile_url(false, false) at /home/ceciliavg/maharacode/mahara/htdocs/lib/view.php:5907
    View->get_url(false) at /home/ceciliavg/maharacode/mahara/htdocs/lib/view.php:5356
    View::get_extra_view_info(array(size 7), false, false) at /home/ceciliavg/maharacode/mahara/htdocs/lib/registration.php:1240
    view_stats_table(10, 0) at /home/ceciliavg/maharacode/mahara/htdocs/lib/registration.php:1175
    view_statistics(10, 0) at /home/ceciliavg/maharacode/mahara/htdocs/admin/statistics.php:60

[WAR] 44 (lib/user.php:1918) profile_url called with no user id
Call stack (most recent first):

    profile_url(false, false) at /home/ceciliavg/maharacode/mahara/htdocs/lib/view.php:5907
    View->get_url(false) at /home/ceciliavg/maharacode/mahara/htdocs/lib/view.php:5356
    View::get_extra_view_info(array(size 7), false, false) at /home/ceciliavg/maharacode/mahara/htdocs/lib/registration.php:1240
    view_stats_table(10, 0) at /home/ceciliavg/maharacode/mahara/htdocs/lib/registration.php:1175
    view_statistics(10, 0) at /home/ceciliavg/maharacode/mahara/htdocs/admin/statistics.php:60

** Affects: mahara
     Importance: Undecided
         Status: Confirmed

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

** This bug has been marked a duplicate of bug 1702434
   Error in site statistics

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

Title:
  Undefined variable: id statistics

Status in Mahara:
  Confirmed

Bug description:
  Mahara 16.10.4 with a clean DB

  Go to Administration -> Site statistics -> Pages

  we see the error:

  [WAR] 44 (lib/user.php:1914) Undefined variable: id
  Call stack (most recent first):

      log_message("Undefined variable: id", 8, true, true, "/home/ceciliavg/maharacode/mahara/htdocs/lib/user....", 1914) at /home/ceciliavg/maharacode/mahara/htdocs/lib/errors.php:513
      error(8, "Undefined variable: id", "/home/ceciliavg/maharacode/mahara/htdocs/lib/user....", 1914, array(size 4)) at /home/ceciliavg/maharacode/mahara/htdocs/lib/user.php:1914
      profile_url(false, false) at /home/ceciliavg/maharacode/mahara/htdocs/lib/view.php:5907
      View->get_url(false) at /home/ceciliavg/maharacode/mahara/htdocs/lib/view.php:5356
      View::get_extra_view_info(array(size 7), false, false) at /home/ceciliavg/maharacode/mahara/htdocs/lib/registration.php:1240
      view_stats_table(10, 0) at /home/ceciliavg/maharacode/mahara/htdocs/lib/registration.php:1175
      view_statistics(10, 0) at /home/ceciliavg/maharacode/mahara/htdocs/admin/statistics.php:60

  [WAR] 44 (lib/user.php:1918) profile_url called with no user id
  Call stack (most recent first):

      profile_url(false, false) at /home/ceciliavg/maharacode/mahara/htdocs/lib/view.php:5907
      View->get_url(false) at /home/ceciliavg/maharacode/mahara/htdocs/lib/view.php:5356
      View::get_extra_view_info(array(size 7), false, false) at /home/ceciliavg/maharacode/mahara/htdocs/lib/registration.php:1240
      view_stats_table(10, 0) at /home/ceciliavg/maharacode/mahara/htdocs/lib/registration.php:1175
      view_statistics(10, 0) at /home/ceciliavg/maharacode/mahara/htdocs/admin/statistics.php:60

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