I get it when I try to update a member’s member fields via the admin control panel.
Warning
in_array() expects parameter 2 to be array, bool given
ee/EllisLab/ExpressionEngine/Controller/Members/Profile/Profile.php, line 348
I get the error multiple times and I checked the file and line 348 is under this comment
// Handle arrays of checkboxes as a special case; if ($field[‘type’] == ‘checkbox’) { foreach ($field[‘choices’] as $property => $label) { $this->member->$property = in_array($property, $post) ? ‘y’ : ‘n’; }
I don’t have any member fields that are checkboxes though, so not sure what’s wrong.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.