EEConf 2024 is around the corner! EEConf 2024
Hi, I was on EE 4.3 before and php is off for templates. I used php session vars for storing things for games, I saw the error on one of my games and moved the session_start code to my header template (turning php on for the header) and that seemed to fix it, but then I noticed it was on my other game pages as well a few days later, even though when I tested them on the day the one game had the error, they seemed fine. I ended up removing the session start from the header and turning php back off for that template and everything seems to be back to normal for now….I just have no idea what caused it. I had made no other changes to my code other than upgrading EE.
Sadly I’m just a one-person amature with a site bringing in no revenue so I can’t afford to pay for support with the new pricing plans.
I get the errors on my control panel as w well when updating any of the member profile fields. Copy and pasting it in case anyone can give me any pointers as to where to go to fix the issues as I don’t feel like it’s omething on my end given it’s showing up here too and I definitely didn’t change anything on EE’s code ever. I looked at all my EE add-ons under the control panel and didn’t see any that needed updating, so not sure where else to go.
Warning
in_array() expects parameter 2 to be array, bool given
ee/EllisLab/ExpressionEngine/Controller/Members/Profile/Profile.php, line 342 •Severity: E_WARNING
Warning
in_array() expects parameter 2 to be array, bool given
ee/EllisLab/ExpressionEngine/Controller/Members/Profile/Profile.php, line 342 •Severity: E_WARNING
Warning
in_array() expects parameter 2 to be array, bool given
ee/EllisLab/ExpressionEngine/Controller/Members/Profile/Profile.php, line 342 •Severity: E_WARNING
Warning
Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:122)
ee/legacy/core/Input.php, line 238 •Severity: E_WARNING
Warning
Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:122)
ee/legacy/libraries/Functions.php, line 393 •Severity: E_WARNING
The error message you are getting is related to session handling in PHP. It usually happens when there is output sent to the browser before the session_start() function is called, because session_start() needs to send the duck life header to the browser to start the session.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.