{ "title": "ErrorException", "type": "ErrorException", "code": 500, "message": "session_set_cookie_params(): Session cookie parameters cannot be changed after headers have already been sent", "file": "/var/www/html/app/Libraries/Session/Session.php", "line": 46, "trace": [ { "function": "errorHandler", "class": "CodeIgniter\\Debug\\Exceptions", "type": "->", "args": [ 2, "session_set_cookie_params(): Session cookie parameters cannot be changed after headers have already been sent", "/var/www/html/app/Libraries/Session/Session.php", 46 ] }, { "file": "/var/www/html/app/Libraries/Session/Session.php", "line": 46, "function": "session_set_cookie_params", "args": [ { "lifetime": 7200, "path": "/", "domain": "", "secure": false, "httponly": true, "samesite": "Lax" } ] }, { "file": "/var/www/html/vendor/codeigniter4/framework/system/Session/Session.php", "line": 232, "function": "configure", "class": "App\\Libraries\\Session\\Session", "type": "->", "args": [] }, { "file": "/var/www/html/app/Config/Services.php", "line": 87, "function": "start", "class": "CodeIgniter\\Session\\Session", "type": "->", "args": [] }, { "file": "/var/www/html/vendor/codeigniter4/framework/system/Config/BaseService.php", "line": 251, "function": "session", "class": "Config\\Services", "type": "::", "args": [ { "driver": "App\\Libraries\\Session\\Handlers\\FileHandler", "cookieName": "ci_session", "expiration": 7200, "savePath": "/var/www/html/writable/session", "matchIP": false, "timeToUpdate": 300, "regenerateDestroy": false, "DBGroup": null, "lockRetryInterval": 100000, "lockMaxRetries": 300 }, false ] }, { "file": "/var/www/html/app/Config/Services.php", "line": 40, "function": "getSharedInstance", "class": "CodeIgniter\\Config\\BaseService", "type": "::", "args": [ "session", null ] }, { "file": "/var/www/html/vendor/codeigniter4/framework/system/Config/BaseService.php", "line": 321, "function": "session", "class": "Config\\Services", "type": "::", "args": [] }, { "file": "/var/www/html/vendor/codeigniter4/framework/system/Config/BaseService.php", "line": 202, "function": "__callStatic", "class": "CodeIgniter\\Config\\BaseService", "type": "::", "args": [ "session", [] ] }, { "file": "/var/www/html/vendor/codeigniter4/framework/system/Common.php", "line": 995, "function": "get", "class": "CodeIgniter\\Config\\BaseService", "type": "::", "args": [ "session" ] }, { "file": "/var/www/html/vendor/codeigniter4/framework/system/Common.php", "line": 968, "function": "service", "args": [ "session" ] }, { "file": "/var/www/html/app/Filters/NoAuth.php", "line": 28, "function": "session", "args": [] }, { "file": "/var/www/html/vendor/codeigniter4/framework/system/Filters/Filters.php", "line": 241, "function": "before", "class": "App\\Filters\\NoAuth", "type": "->", "args": [ {}, null ] }, { "file": "/var/www/html/vendor/codeigniter4/framework/system/Filters/Filters.php", "line": 221, "function": "runBefore", "class": "CodeIgniter\\Filters\\Filters", "type": "->", "args": [ [ [ "App\\Filters\\NoAuth", [] ] ] ] }, { "file": "/var/www/html/vendor/codeigniter4/framework/system/CodeIgniter.php", "line": 479, "function": "run", "class": "CodeIgniter\\Filters\\Filters", "type": "->", "args": [ "", "before" ] }, { "file": "/var/www/html/vendor/codeigniter4/framework/system/CodeIgniter.php", "line": 354, "function": "handleRequest", "class": "CodeIgniter\\CodeIgniter", "type": "->", "args": [ null, { "handler": "file", "backupHandler": "dummy", "prefix": "", "ttl": 60, "reservedCharacters": "{}()/\\@:", "file": { "storePath": "/var/www/html/writable/cache/", "mode": 416 }, "memcached": { "host": "127.0.0.1", "port": 11211, "weight": 1, "raw": false }, "redis": { "host": "127.0.0.1", "password": null, "port": 6379, "timeout": 0, "database": 0 }, "validHandlers": { "dummy": "CodeIgniter\\Cache\\Handlers\\DummyHandler", "file": "CodeIgniter\\Cache\\Handlers\\FileHandler", "memcached": "CodeIgniter\\Cache\\Handlers\\MemcachedHandler", "predis": "CodeIgniter\\Cache\\Handlers\\PredisHandler", "redis": "CodeIgniter\\Cache\\Handlers\\RedisHandler", "wincache": "CodeIgniter\\Cache\\Handlers\\WincacheHandler" }, "cacheQueryString": false }, false ] }, { "file": "/var/www/html/vendor/codeigniter4/framework/system/Boot.php", "line": 363, "function": "run", "class": "CodeIgniter\\CodeIgniter", "type": "->", "args": [] }, { "file": "/var/www/html/vendor/codeigniter4/framework/system/Boot.php", "line": 68, "function": "runCodeIgniter", "class": "CodeIgniter\\Boot", "type": "::", "args": [ {} ] }, { "file": "/var/www/html/public/index.php", "line": 59, "function": "bootWeb", "class": "CodeIgniter\\Boot", "type": "::", "args": [ { "systemDirectory": "/var/www/html/app/Config/../../vendor/codeigniter4/framework/system", "appDirectory": "/var/www/html/app/Config/..", "writableDirectory": "/var/www/html/app/Config/../../writable", "testsDirectory": "/var/www/html/app/Config/../../tests", "viewDirectory": "/var/www/html/app/Config/../Views" } ] } ] }