** Also affects: mahara/18.04 Importance: Undecided Status: New ** Also affects: mahara/19.04 Importance: High Assignee: Robert Lyon (robertl-9) Status: In Progress
** Also affects: mahara/18.10 Importance: Undecided Status: New ** Changed in: mahara/18.10 Status: New => Confirmed ** Changed in: mahara/18.04 Status: New => Confirmed ** Changed in: mahara/18.10 Importance: Undecided => High ** Changed in: mahara/18.04 Importance: Undecided => High ** Changed in: mahara/18.10 Milestone: None => 18.10.1 ** Changed in: mahara/18.04 Milestone: None => 18.04.4 -- 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/1812910 Title: count(): Parameter must be an array or an object that implements Countable in Importer Status in Mahara: In Progress Status in Mahara 18.04 series: Confirmed Status in Mahara 18.10 series: Confirmed Status in Mahara 19.04 series: In Progress Bug description: Importer needs to use is_array() instead of count() in PHP 7.2 when we are wanting to check if there is an array to loop over with foreach(). Currently we try to loop over entries by checking with count() and we get error - count(): Parameter must be an array or an object that implements Countable when there is nothing set To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1812910/+subscriptions _______________________________________________ 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