Notice: session_start(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) in /var/www/vendor/nette/http/src/Http/Session.php on line 214

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /var/www/vendor/nette/http/src/Http/Session.php:214) in /var/www/vendor/nette/http/src/Http/Session.php on line 214

Fatal error: Uncaught Nette\InvalidStateException: Cannot send header after HTTP headers have been sent (output started at /var/www/vendor/nette/http/src/Http/Session.php:214). in /var/www/vendor/nette/http/src/Http/Response.php:270 Stack trace: #0 /var/www/vendor/nette/http/src/Http/Response.php(241): Nette\Http\Response->checkHeaders() #1 /var/www/vendor/nette/http/src/Http/Session.php(499): Nette\Http\Response->setCookie('PHPSESSID', '', 0, '/', '', false, true) #2 /var/www/vendor/nette/http/src/Http/Session.php(121): Nette\Http\Session->sendCookie() #3 /var/www/application/bootstrap.php(84): Nette\Http\Session->start() #4 /var/www/public/index.php(33): require_once('/var/www/applic...') #5 {main} thrown in /var/www/vendor/nette/http/src/Http/Response.php on line 270