Silverstripe Version: 4.4
I am trying to log a user in manually and I get the error: Cookie ‘alc_enc’ can’t be set.
$member = Member::get()->filter(['Email'=>$email])->First(); $identityStore = Injector::inst()->get(IdentityStore::class); $identityStore->logIn($member);
Cookie 'alc_enc' can't be set. The site started outputting content at line 108 in /srv/users/*****/apps/****/public/app/src/PageController.php
Any clues on why this would be occuring?