# Panel Blocked attempt to use history.pushState() Error

**URL:** <https://forum.getkirby.com/t/panel-blocked-attempt-to-use-history-pushstate-error/24024>\
**Category:** Questions\
**Tags:** v3\
**Created:** [November 23, 2021, 12:21pm UTC](https://forum.getkirby.com/t/panel-blocked-attempt-to-use-history-pushstate-error/24024 "2021-11-23T12:21:16Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![derfabifabi](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/derfabifabi/32/10908_2.png) [@derfabifabi](https://forum.getkirby.com/u/derfabifabi)\
**Post date:** [November 23, 2021, 12:21pm UTC](https://forum.getkirby.com/t/panel-blocked-attempt-to-use-history-pushstate-error/24024/1 "2021-11-23T12:21:16Z")

</div>

Hey everybody!

Today I tried to update my Website to Kirby 3.6  
Everything works fine so far but I get a strange Error when I try to access the panel.  
In my Console it says „Blocked attempt to use history.pushState() to change session history“ and then something with User and Password must mach.  
The result is that the panel login page is just a white background and I can’t login.

I changed back to the version before and it works flawless again.

Any Idea how to fix this?  
Does this maybe have something to do with the Kirby Catch files or file permissions?

Thank you!

---

<div class="post-metadata">

**Author:** ![moonwalk](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@moonwalk](https://forum.getkirby.com/u/moonwalk)\
**Post date:** [November 23, 2021, 1:15pm UTC](https://forum.getkirby.com/t/panel-blocked-attempt-to-use-history-pushstate-error/24024/2 "2021-11-23T13:15:51Z")

</div>

Have you deleted the session folder, media folder, cache folder, cleared browser cache etc?

---

<div class="post-metadata">

**Author:** ![derfabifabi](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/derfabifabi/32/10908_2.png) [@derfabifabi](https://forum.getkirby.com/u/derfabifabi)\
**Post date:** [November 23, 2021, 1:27pm UTC](https://forum.getkirby.com/t/panel-blocked-attempt-to-use-history-pushstate-error/24024/3 "2021-11-23T13:27:47Z")

</div>

Thank you for your reply!

I deleted everything except the cache and session folder.  
I’ll give it a try and tell you later if it worked.

---

<div class="post-metadata">

**Author:** ![derfabifabi](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/derfabifabi/32/10908_2.png) [@derfabifabi](https://forum.getkirby.com/u/derfabifabi)\
**Post date:** [November 23, 2021, 6:46pm UTC](https://forum.getkirby.com/t/panel-blocked-attempt-to-use-history-pushstate-error/24024/4 "2021-11-23T18:46:41Z")

</div>

Sadly it’s still not working.  
Attached an Screenshot of the Error Message.

 ![Bildschirmfoto 2021-11-23 um 19.43.30](https://europe1.discourse-cdn.com/flex017/uploads/getkirby/original/2X/6/6b70149e599516faeed9242aa4be9df1966da520.png)

Thank you!

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [November 23, 2021, 9:47pm UTC](https://forum.getkirby.com/t/panel-blocked-attempt-to-use-history-pushstate-error/24024/5 "2021-11-23T21:47:13Z")

</div>

> [@derfabifabi](#):
>
> Blocked attempt to use history.pushState() to change session history

Where does this other URL with port 9258 come from?

---

<div class="post-metadata">

**Author:** ![derfabifabi](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/derfabifabi/32/10908_2.png) [@derfabifabi](https://forum.getkirby.com/u/derfabifabi)\
**Post date:** [November 24, 2021, 10:31am UTC](https://forum.getkirby.com/t/panel-blocked-attempt-to-use-history-pushstate-error/24024/6 "2021-11-24T10:31:49Z")

</div>

Hey @texnixe

I really don’t know.  
But I know that the URL with **port :9258** is according to the phpinfo() log, the **Server Host.** So I think somehow Kirby is confused between the actual url and the host-ip-address.  
Never got this Error Messege before the update to 3.6 so I think maybe it’s really a cache/session error. All cache/session files I have to delete are in the site/ folder right? Is there anything else I could have got forgotten?

Thank you!

---

<div class="post-metadata">

**Author:** ![derfabifabi](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/derfabifabi/32/10908_2.png) [@derfabifabi](https://forum.getkirby.com/u/derfabifabi)\
**Post date:** [December 9, 2021, 7:21pm UTC](https://forum.getkirby.com/t/panel-blocked-attempt-to-use-history-pushstate-error/24024/7 "2021-12-09T19:21:24Z")

</div>

Little Update on this one:  
It’s still not working and I have no idea what to try next.

Since I first uploaded the page to my clients server, I had to change in the config file the server-url via „‘url’ =\> …“ to make it work.  
Maybe this messes with the real URL and the Server-Address?

When I delete the url line (with „‘url’ =\> …“) in the config file I break the page but get another Error-Log.

Maybe some can give me a hint.

 ![Screenshot 2021-12-09 at 20.02.23](https://europe1.discourse-cdn.com/flex017/uploads/getkirby/original/2X/6/64530e0b23cce9defc2ea87df9d3bbcdf1ea9241.png)

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [December 9, 2021, 7:30pm UTC](https://forum.getkirby.com/t/panel-blocked-attempt-to-use-history-pushstate-error/24024/8 "2021-12-09T19:30:04Z")

</div>

Which plugins are you using?

---

<div class="post-metadata">

**Author:** ![derfabifabi](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/derfabifabi/32/10908_2.png) [@derfabifabi](https://forum.getkirby.com/u/derfabifabi)\
**Post date:** [December 9, 2021, 8:28pm UTC](https://forum.getkirby.com/t/panel-blocked-attempt-to-use-history-pushstate-error/24024/9 "2021-12-09T20:28:36Z")

</div>

Hey texnixe,

thanks for your reply.  
I’m using no plugins at all.

Edit:  
Could it be a permission issue?  
Because I had some issues with this before.

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [December 9, 2021, 9:38pm UTC](https://forum.getkirby.com/t/panel-blocked-attempt-to-use-history-pushstate-error/24024/10 "2021-12-09T21:38:16Z")

</div>

I have no idea what the issue might be, obviously it has something to do with https vs. http, but apart from that, hm. When I google the error I mainly get iOS related results. Can’t remember ever seen this error message before.

Where are you hosting?

---

<div class="post-metadata">

**Author:** ![derfabifabi](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/derfabifabi/32/10908_2.png) [@derfabifabi](https://forum.getkirby.com/u/derfabifabi)\
**Post date:** [December 9, 2021, 11:18pm UTC](https://forum.getkirby.com/t/panel-blocked-attempt-to-use-history-pushstate-error/24024/11 "2021-12-09T23:18:23Z")

</div>

My client is an educational institution and has it’s own server. The kirby website is hosted under a subdomain of the main website.  
It’s running on apache and php 7.4.  
Strange thing is, I had not any issue with the version before 3.6.  
Maybe it has something to do with a .htaccess redirection I set up for the »www« and without »www« domain. Or it has something to do with the way I updated Kirby.

Plan is now to reach the server team. Maybe they know how to fix this.

If you have any advice please let me know.

Thank you!

---

<div class="post-metadata">

**Author:** ![Timon](https://avatars.discourse-cdn.com/v4/letter/t/6bbea6/32.png) [@Timon](https://forum.getkirby.com/u/Timon)\
**Post date:** [March 14, 2022, 5:01pm UTC](https://forum.getkirby.com/t/panel-blocked-attempt-to-use-history-pushstate-error/24024/12 "2022-03-14T17:01:17Z")

</div>

I have experienced the same issue!  
3.6.3-rc.1 Pre-release did the job for me → [Release 3.6.3-rc.1 · getkirby/kirby · GitHub](https://github.com/getkirby/kirby/releases/tag/3.6.3-rc.1)

Cheers  
Timon

---

<div class="post-metadata">

**Author:** ![derfabifabi](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/derfabifabi/32/10908_2.png) [@derfabifabi](https://forum.getkirby.com/u/derfabifabi)\
**Post date:** [May 21, 2022, 12:59pm UTC](https://forum.getkirby.com/t/panel-blocked-attempt-to-use-history-pushstate-error/24024/13 "2022-05-21T12:59:44Z")

</div>

Hey Timon,

thank you for your reply! Maybe it’s a bit late now but anyway:  
I updated my site to the newest version and everything is working flawlessly now!

All the best
