? Success

User tests: Successful: Unsuccessful:

avatar wilsonge
wilsonge
4 Mar 2015

I caught this error when editing a list in Fabrik:

( ! ) Catchable fatal error: Argument 1 passed to Joomla\Utilities\ArrayHelper::getValue() must be of the type array, object given, called in \libraries\joomla\utilities\arrayhelper.php on line 264 and defined in \libraries\vendor\joomla\utilities\src\ArrayHelper.php on line 242

If you pass an object into getValue previous it would work. However the framework typehints against the object being an array (correctly imho) so we need to ensure that we pass in an array

avatar wilsonge wilsonge - open - 4 Mar 2015
avatar joomla-cms-bot joomla-cms-bot - change - 4 Mar 2015
Labels Added: ?
avatar Kubik-Rubik
Kubik-Rubik - comment - 4 Mar 2015

Easy fix, thanks @wilsonge!

avatar Kubik-Rubik Kubik-Rubik - change - 4 Mar 2015
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2015-03-04 12:47:46
avatar Kubik-Rubik Kubik-Rubik - close - 4 Mar 2015
avatar Kubik-Rubik Kubik-Rubik - reference | - 4 Mar 15
avatar Kubik-Rubik Kubik-Rubik - merge - 4 Mar 2015
avatar Kubik-Rubik Kubik-Rubik - close - 4 Mar 2015
avatar wilsonge wilsonge - head_ref_deleted - 4 Mar 2015
avatar pollen8
pollen8 - comment - 4 Mar 2015

thanks George - we'd hacked around it in Fabrik by wrapping the JArrayHelper with our own helper, but great to see that the root issue was fixed.

Add a Comment

Login with GitHub to post a comment