mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #12816
[Bug 1191605] Re: blocktype/externalfeed/lib.php throws array_chunk errors
What $data was being passed in, that had count($data) > 0, but
false===is_array($data) ?
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contrib members
https://bugs.launchpad.net/bugs/1191605
Title:
blocktype/externalfeed/lib.php throws array_chunk errors
Status in Mahara ePortfolio:
Fix Committed
Bug description:
Errors thrown:
[WAR] fc (blocktype/externalfeed/lib.php:79) array_chunk() expects parameter 1 to be array, string given
[WAR] fc (blocktype/externalfeed/lib.php:83) Invalid argument supplied
for foreach()
Need to make sure the $data->content is not empty and is an array as
that is what is wanted.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1191605/+subscriptions
References