-1

Notice: session_start(): A session had already been started - ignoring in /storage/ssd5/956/17981956/public_html/admin.php on line 27

Warning: Cannot modify header information - headers already sent by (output started at /storage/ssd5/956/17981956/public_html/admin.php:27) in /storage/ssd5/956/17981956/public_html/admin.php on line 35

  • 1
    Does this answer your question? [How to fix "Headers already sent" error in PHP](https://stackoverflow.com/questions/8028957/how-to-fix-headers-already-sent-error-in-php) – RCode Nov 21 '21 at 07:42

1 Answers1

-1

you've already started session somewhere else, try this code:

if(session_id() == '') {
    session_start();
}

and make sure to put it above the other codes.