mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #52839
[Bug 1824674] Re: "User details" report throws error
Re-Test - Tested bug using reporter of bug (Kristina's environment) - we
could replicate the bug.
1) applied patch and rechecked - no errors were displayed - User details
report is working as expected.
Catalyst QA Approved
--
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/1824674
Title:
"User details" report throws error
Status in Mahara:
Fix Committed
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 /home/kristina/code/1904stable/htdocs/lib/errors.php:520
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 /home/kristina/code/1904stable/htdocs/lib/statistics.php:577
userdetails_statistics(10, 0, array(size 5), null) at /home/kristina/code/1904stable/htdocs/lib/statistics.php:4284
display_statistics("all", "users", object(stdClass)) at /home/kristina/code/1904stable/htdocs/admin/users/statistics.php:251
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:
https://bugs.launchpad.net/mahara/+bug/1824674/+subscriptions
References