We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Any idea why I get this EE Error?

Development and Programming

Natalie's avatar
Natalie
15 posts
6 years ago
Natalie's avatar Natalie

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.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.