-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
Description
server/lib/private/Session/Internal.php
Line 57 in 2e36069
setcookie($this->invoke('session_name'), null, -1, \OC::$WEBROOT ?: '/'); |
Catch will fail here, if there are permission/file issues with session_start()
setcookie() requires string as second argument
PHP Version => 7.2.9 (php-fpm)
{"reqId":"<request_id>","level":3,"time":"0000-00-00T00:00:00+00:00","remoteAddr":"X.X.X.X","user":"--","app":"index","method":"GET","url":"/index.php","message":{"Exception":"TypeError","Message":"setcookie() expects parameter 2 to be string, null given","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Session/Internal.php","line":57,"function":"setcookie","args":["aebh03aplby",null,-1,"/"]},{"file":"/var/www/nextcloud/lib/base.php","line":424,"function":"__construct","class":"OC\Session\Internal","type":"->","args":["aebh03aplby"]},{"file":"/var/www/nextcloud/lib/base.php","line":656,"function":"initSession","class":"OC","type":"::","args":[]},{"file":"/var/www/nextcloud/lib/base.php","line":1070,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/nextcloud/index.php","line":40,"args":["/var/www/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/Session/Internal.php","Line":57,"CustomMessage":"--"},"userAgent":"curl/X.XX.X","version":"X.X.X.X"}