** Changed in: mahara
       Status: Confirmed => In Progress

** Changed in: mahara
     Assignee: (unassigned) => Robert Lyon (robertl-9)

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!

  "User details" report throws error

Status in Mahara:
  In Progress

Bug description:
  When I run the "User details" report, I get the following error
  message no matter what settings I use for the columns:

  [WAR] e5 (lib/statistics.php:630) count(): Parameter must be an array or an 
object that implements Countable
  Call stack (most recent first):

      log_message("count(): Parameter must be an array or an object t...", 8, 
true, true, "/home/kristina/code/1904stable/htdocs/lib/statisti...", 630) at 
      error(2, "count(): Parameter must be an array or an object t...", 
"/home/kristina/code/1904stable/htdocs/lib/statisti...", 630, array(size 16)) 
at /home/kristina/code/1904stable/htdocs/lib/statistics.php:630
      userdetails_stats_table(10, 0, array(size 5), null, 
"https://1904stable.anitsirk.wgtn.cat-it.co.nz/admi...";) at 
      userdetails_statistics(10, 0, array(size 5), null) at 
      display_statistics("all", "users", object(stdClass)) at 

  To replicate:

  1. Log in as site admin.
  2. Go to Admin menu -> Reports.
  3. Click "Configure report".
  4. Choose the "User details" report and run it.

  Expected result: No error message.
  Actual result: Above error message.

To manage notifications about this bug go to:

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