Heimdall icon indicating copy to clipboard operation
Heimdall copied to clipboard

Call to a member function setCookie() on null

Open qibao07 opened this issue 3 years ago • 5 comments

Happens every few hours.

Delete all cookie, the problem has be fiexd.

So, the key point in cookie, and make [$response->headers] be null.

image image

qibao07 avatar Mar 31 '22 00:03 qibao07

  1. Successfully login to the system using the browser.
  2. Restart service.
VERSION=2.4.9
NAME=heimdall

docker stop $NAME
docker rm $NAME
docker run -d \
  --name=$NAME \
  -e PUID=$(id -u) \
  -e PGID=$(id -g) \
  -e TZ=Asia/Shanghai \
  -p 57234:80 \
  -v /home/ubuntu/MyDisk2/heimdall-data:/config \
  --restart always \
  linuxserver/heimdall:$VERSION
  1. Refresh the browser page, the problem reappeared.

I have two accounts, the admin account is not, only other one account like that.

qibao07 avatar Apr 02 '22 01:04 qibao07

Do you have 2 copies of Heimdall running?

KodeStar avatar Apr 02 '22 14:04 KodeStar

@KodeStar No, but I have 2 user like this. image

qibao07 avatar Apr 02 '22 14:04 qibao07

Hello, Exactly same issue there.

image

I access my Heimdall service through a reverse proxy (NPM) as other services as Nextcloud, HomeAssistant, or Notea...

If I clean all cookie from my browser, it fixes the issue. But after few time it reappears.

Thanks for your help. Best Regards.

GauthierCrp avatar Apr 12 '22 07:04 GauthierCrp

I am also having this issue. Clearing cache and cookies seems to resolve it temporarily. I do have two users. I also confirmed that Heimdall is not running twice.

misteradamx avatar Apr 13 '22 16:04 misteradamx

Seems to be duplicate of #379

keriati avatar Nov 16 '22 21:11 keriati

Duplicate of #379

KodeStar avatar Nov 16 '22 21:11 KodeStar

This has been fixed in 2.5.0, see #379 for more details

KodeStar avatar Nov 17 '22 09:11 KodeStar