mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #50797
[Bug 1800961] Re: reports page displays error message with an empty DB
As the error only appear if there are no portfolio pages with blocks (eg
when site is first made) we won't backport to anything other than 18.10
** Changed in: mahara/19.04
Status: In Progress => Fix Committed
** No longer affects: mahara/18.04
** Changed in: mahara/18.10
Status: Confirmed => Fix Committed
--
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/1800961
Title:
reports page displays error message with an empty DB
Status in Mahara:
Fix Committed
Status in Mahara 18.10 series:
Fix Committed
Status in Mahara 19.04 series:
Fix Committed
Bug description:
To replicate:
Install a new site in a clean database
go to Admin menu-> Reports
as the database is new, there is no data for the statistics and the following error is displayed
[WAR] 9b (lib/statistics.php:209) Invalid argument supplied for foreach()
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1800961/+subscriptions
References