Patch for "master" branch:

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 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, 
"";) 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:
Post to     :
Unsubscribe :
More help   :

Reply via email to