mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #51344
[Bug 1812910] [NEW] count(): Parameter must be an array or an object that implements Countable in Importer
Public bug reported:
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
** Affects: mahara
Importance: High
Assignee: Robert Lyon (robertl-9)
Status: In Progress
** Changed in: mahara
Importance: Undecided => High
** Changed in: mahara
Milestone: None => 19.04.0
** Changed in: mahara
Assignee: (unassigned) => Robert Lyon (robertl-9)
** Changed in: mahara
Status: New => In Progress
--
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
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
Follow ups
-
[Bug 1812910] Re: count(): Parameter must be an array or an object that implements Countable in Importer
From: Robert Lyon, 2019-04-30
-
[Bug 1812910] Re: count(): Parameter must be an array or an object that implements Countable in Importer
From: Rebecca Blundell, 2019-04-30
-
[Bug 1812910] Re: count(): Parameter must be an array or an object that implements Countable in Importer
From: Robert Lyon, 2019-04-30
-
[Bug 1812910] A change has been merged
From: Mahara Bot, 2019-03-20
-
[Bug 1812910] Re: count(): Parameter must be an array or an object that implements Countable in Importer
From: Robert Lyon, 2019-03-20
-
[Bug 1812910] Re: count(): Parameter must be an array or an object that implements Countable in Importer
From: Robert Lyon, 2019-02-20
-
[Bug 1812910] A change has been merged
From: Mahara Bot, 2019-02-19
-
[Bug 1812910] A patch has been submitted for review
From: Mahara Bot, 2019-02-19
-
[Bug 1812910] A patch has been submitted for review
From: Mahara Bot, 2019-02-19
-
[Bug 1812910] A change has been merged
From: Mahara Bot, 2019-02-19
-
[Bug 1812910] Re: count(): Parameter must be an array or an object that implements Countable in Importer
From: Robert Lyon, 2019-02-19
-
[Bug 1812910] Re: count(): Parameter must be an array or an object that implements Countable in Importer
From: Robert Lyon, 2019-02-04
-
[Bug 1812910] A patch has been submitted for review
From: Mahara Bot, 2019-02-04
-
[Bug 1812910] A change has been merged
From: Mahara Bot, 2019-01-27
-
[Bug 1812910] Re: count(): Parameter must be an array or an object that implements Countable in Importer
From: Cecilia Vela Gurovic, 2019-01-27
-
[Bug 1812910] A patch has been submitted for review
From: Mahara Bot, 2019-01-27
-
[Bug 1812910] A change has been merged
From: Mahara Bot, 2019-01-27
-
[Bug 1812910] A patch has been submitted for review
From: Mahara Bot, 2019-01-27
-
[Bug 1812910] A change has been merged
From: Mahara Bot, 2019-01-27
-
[Bug 1812910] Re: count(): Parameter must be an array or an object that implements Countable in Importer
From: Robert Lyon, 2019-01-22
-
[Bug 1812910] A patch has been submitted for review
From: Mahara Bot, 2019-01-22