← Back to team overview

mahara-contributors team mailing list archive

[Bug 1800961] [NEW] reports page displays error message with an empty DB

 

Public bug reported:

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()

** Affects: mahara
     Importance: Undecided
         Status: New

** Changed in: mahara
    Milestone: None => 19.04.0

-- 
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:
  New

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


Follow ups