PHP Warning: Couldn't set response type to 404 because of output on line 326 of

Silverstripe Version:
4.3.3
Question:
I get a server error after I enter my login and password at /admin- how do I fix this?
Details of your query go here
seeing the following in the application error log
PHP Warning: Couldn’t set response type to 404 because of output on line 326 of /home/carbery1/public_html/vendor/silverstripe/framework/src/Control/Session.php in /home/carbery1/public_html/vendor/silverstripe/framework/src/Control/HTTPResponse.php on line 397

// Include any relevant code. If you have a lot of code, link to a gist instead.

A warning shouldn’t stop execution. Have you got your site in dev mode? If not try changing your .env file to dev and see if you get a more helpful error?