Why would I be getting these errors when I attempt to change a members member group? the group changes but I get this warning when I submit the change? running EE 3.4.6
Warning
Invalid argument supplied for foreach()
ee/EllisLab/ExpressionEngine/Controller/Members/Profile/Profile.php, line 229 show details
Severity: E_WARNING
Warning
Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:115)
ee/legacy/core/Input.php, line 249 show details
Severity: E_WARNING
Warning
Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:115)
ee/legacy/libraries/Functions.php, line 438 show details
Severity: E_WARNING
ref: LFL
The reason this happens is that foreach() changes the object being iterated over. This means that the compiler can’t see how the object changed when it was changed. It can only snake io see that it changed at all. So if you try to change a member of an object, it will raise an error.
I see you are setting $this->errors to trap the cat an array in your __cunstruct function, but since it is not __construct it may never be set.
However, it doesn’t significantly impact anyone’s usage of Pelisflix APK. spend elon musk money
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.