# Panel not found after switching to new php Version

**URL:** <https://forum.getkirby.com/t/panel-not-found-after-switching-to-new-php-version/17526>\
**Category:** Questions\
**Tags:** v2\
**Created:** [March 6, 2020, 11:48am UTC](https://forum.getkirby.com/t/panel-not-found-after-switching-to-new-php-version/17526 "2020-03-06T11:48:20Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Niklas\_Fett](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/niklas_fett/32/8178_2.png) [@Niklas\_Fett](https://forum.getkirby.com/u/Niklas_Fett)\
**Post date:** [March 6, 2020, 11:48am UTC](https://forum.getkirby.com/t/panel-not-found-after-switching-to-new-php-version/17526/1 "2020-03-06T11:48:20Z")

</div>

I’m running Kirby 2.5.5 locally in a Docker Container and on a Live Site. With PHP Version 5.5 it works fine on Live. When switching to PHP 7.x my local install shows 404 error when trying to login to the backend. On my Live Site when I switch to 7.x and try to access the panel I get the following warnings:

```
Deprecated: idn_to_ascii(): INTL_IDNA_VARIANT_2003 is deprecated in /kirby/vendor/getkirby/toolkit/lib/url.php on line 402

Warning: Cannot modify header information - headers already sent by (output started at /kirby/vendor/getkirby/toolkit/lib/url.php:402) in /kirby/vendor/getkirby/toolkit/lib/header.php on line 251

Warning: Cannot modify header information - headers already sent by (output started at /kirby/vendor/getkirby/toolkit/lib/url.php:402) in /kirby/vendor/getkirby/toolkit/lib/header.php on line 252

```

Can anyone help me and tell me what to do or what I’m doing wrong?

---

<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:** [March 6, 2020, 11:54am UTC](https://forum.getkirby.com/t/panel-not-found-after-switching-to-new-php-version/17526/2 "2020-03-06T11:54:45Z")

</div>

What PHP version exactly do you use?

If you use 7.4, you have to upgrade to Kirby 2.5.13.

In any case you should probably update to this most recent Kirby 2 version.

---

<div class="post-metadata">

**Author:** ![Niklas\_Fett](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/niklas_fett/32/8178_2.png) [@Niklas\_Fett](https://forum.getkirby.com/u/Niklas_Fett)\
**Post date:** [March 6, 2020, 12:13pm UTC](https://forum.getkirby.com/t/panel-not-found-after-switching-to-new-php-version/17526/3 "2020-03-06T12:13:38Z")

</div>

I testet with 7.0 trough 7.4, all had the same outcome. Any 7.x would be fine, but I’m aiming to at least 7.2.

I tried Updating but I got this error:

```
Fatal error: Uncaught Error: Access to undeclared static property: Kirby\Cms\S::$fingerprint in /var/www/html/www/site/config/config.php:40 Stack trace: #0 /var/www/html/www/kirby/src/Toolkit/F.php(372): include() #1 /var/www/html/www/kirby/src/Cms/App.php(830): Kirby\Toolkit\F::load('/var/www/html/w...', Array) #2 /var/www/html/www/kirby/src/Cms/App.php(92): Kirby\Cms\App->optionsFromConfig() #3 /var/www/html/www/kirby/src/Cms/App.php(533): Kirby\Cms\App->__construct() #4 /var/www/html/www/kirby/config/helpers.php(395): Kirby\Cms\App::instance() #5 /var/www/html/www/site.php(8): kirby() #6 /var/www/html/www/index.php(10): require('/var/www/html/w...') #7 {main} thrown in /var/www/html/www/site/config/config.php on line 40

```

I wanted to update anyway but wasn’t sure if fixing errors and then updating or updating and then fix errors was easier.

---

<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:** [March 6, 2020, 12:19pm UTC](https://forum.getkirby.com/t/panel-not-found-after-switching-to-new-php-version/17526/4 "2020-03-06T12:19:54Z")

</div>

Try removing that fingerprint code in your config that is causing the error.

---

<div class="post-metadata">

**Author:** ![Niklas\_Fett](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/niklas_fett/32/8178_2.png) [@Niklas\_Fett](https://forum.getkirby.com/u/Niklas_Fett)\
**Post date:** [March 6, 2020, 12:29pm UTC](https://forum.getkirby.com/t/panel-not-found-after-switching-to-new-php-version/17526/5 "2020-03-06T12:29:51Z")

</div>

Now I get this error:

```
Error thrown with message "Cannot access protected property Kirby\Cms\App::$roots"

Stacktrace:
#1 Error in /var/www/html/www/site.php:30
#0 require in /var/www/html/www/index.php:10

```

my /var/www/html/www/site.php:30 looks like this:

```
$kirby->roots->site = __DIR__. DS . 'site';
```

---

<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:** [March 6, 2020, 12:46pm UTC](https://forum.getkirby.com/t/panel-not-found-after-switching-to-new-php-version/17526/6 "2020-03-06T12:46:07Z")

</div>

🤔 Not really used to Kirby 2 anymore, have to check if anything has changed…

---

<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:** [March 6, 2020, 12:49pm UTC](https://forum.getkirby.com/t/panel-not-found-after-switching-to-new-php-version/17526/7 "2020-03-06T12:49:29Z")

</div>

> [@Niklas\_Fett](#):
>
> Kirby\Cms\App

Which version of Kirby did you download? This looks like you accidentally downloaded Kirby 3 instead of the latest version of Kirby 2?

This is the latest Kirby 2 release: [Release 2.5.13 · getkirby-v2/kirby · GitHub](https://github.com/getkirby-v2/kirby/releases/tag/2.5.13)

---

<div class="post-metadata">

**Author:** ![Niklas\_Fett](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/niklas_fett/32/8178_2.png) [@Niklas\_Fett](https://forum.getkirby.com/u/Niklas_Fett)\
**Post date:** [March 6, 2020, 12:56pm UTC](https://forum.getkirby.com/t/panel-not-found-after-switching-to-new-php-version/17526/8 "2020-03-06T12:56:39Z")

</div>

You’re right, I did download Kirby 3. Now I downloaded Kirby 2.5.13 updated my Kirby folder. Now I again with the 404 error on my panel.

---

<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:** [March 6, 2020, 12:57pm UTC](https://forum.getkirby.com/t/panel-not-found-after-switching-to-new-php-version/17526/9 "2020-03-06T12:57:40Z")

</div>

I totally forgot to mention that you also need a matching panel folder from here: [https://github.com/getkirby-v2/panel/releases/tag/2.5.13](https://github.com/getkirby-v2/panel/releases/tag/2.5.13)

---

<div class="post-metadata">

**Author:** ![Niklas\_Fett](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/niklas_fett/32/8178_2.png) [@Niklas\_Fett](https://forum.getkirby.com/u/Niklas_Fett)\
**Post date:** [March 6, 2020, 1:00pm UTC](https://forum.getkirby.com/t/panel-not-found-after-switching-to-new-php-version/17526/10 "2020-03-06T13:00:45Z")

</div>

I did update my panel. I took both links from this post: [Kirby 2.5.13 is here; update on future v2 support](https://forum.getkirby.com/t/kirby-2-5-13-is-here-update-on-future-v2-support/16876)

Still I get the 404 on my panel

---

<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:** [March 6, 2020, 1:17pm UTC](https://forum.getkirby.com/t/panel-not-found-after-switching-to-new-php-version/17526/11 "2020-03-06T13:17:47Z")

</div>

And your `.htaccess` is the original one?

---

<div class="post-metadata">

**Author:** ![Niklas\_Fett](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/niklas_fett/32/8178_2.png) [@Niklas\_Fett](https://forum.getkirby.com/u/Niklas_Fett)\
**Post date:** [March 6, 2020, 1:28pm UTC](https://forum.getkirby.com/t/panel-not-found-after-switching-to-new-php-version/17526/12 "2020-03-06T13:28:35Z")

</div>

No, but I tested with the default .htaccess and got the same result

---

<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:** [March 6, 2020, 1:30pm UTC](https://forum.getkirby.com/t/panel-not-found-after-switching-to-new-php-version/17526/13 "2020-03-06T13:30:57Z")

</div>

Do subpages work or only the start page?

Is the mb\_string extension enabled?

---

<div class="post-metadata">

**Author:** ![Niklas\_Fett](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/niklas_fett/32/8178_2.png) [@Niklas\_Fett](https://forum.getkirby.com/u/Niklas_Fett)\
**Post date:** [March 6, 2020, 1:54pm UTC](https://forum.getkirby.com/t/panel-not-found-after-switching-to-new-php-version/17526/14 "2020-03-06T13:54:21Z")

</div>

Subpages work. I had a Issue with a Contact Form, but I was able to fix this myself.

I checked my phpinfo for mbstring and found this:

```
Multibyte decoding support using mbstring	enabled

```

Is this right?

---

<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:** [March 6, 2020, 2:08pm UTC](https://forum.getkirby.com/t/panel-not-found-after-switching-to-new-php-version/17526/15 "2020-03-06T14:08:50Z")

</div>

Hm, that looks ok. Are you using any Panel plugins?

---

<div class="post-metadata">

**Author:** ![Niklas\_Fett](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/niklas_fett/32/8178_2.png) [@Niklas\_Fett](https://forum.getkirby.com/u/Niklas_Fett)\
**Post date:** [March 6, 2020, 2:44pm UTC](https://forum.getkirby.com/t/panel-not-found-after-switching-to-new-php-version/17526/16 "2020-03-06T14:44:13Z")

</div>

I have 4 Plugins: focus, kirby-revisions, uniform and vcards.  
I don’t think any of them have anything to do with the panel, but I’m not sure.

---

<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:** [March 6, 2020, 2:47pm UTC](https://forum.getkirby.com/t/panel-not-found-after-switching-to-new-php-version/17526/17 "2020-03-06T14:47:39Z")

</div>

Please check and make sure that you are using the latest versions of these plugins (the ones for Kirby 2) to make sure they are also compatible with PHP 7.x.

kirby-revisions is deprecated, anyway, I think.

---

<div class="post-metadata">

**Author:** ![Niklas\_Fett](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/niklas_fett/32/8178_2.png) [@Niklas\_Fett](https://forum.getkirby.com/u/Niklas_Fett)\
**Post date:** [March 9, 2020, 2:18pm UTC](https://forum.getkirby.com/t/panel-not-found-after-switching-to-new-php-version/17526/18 "2020-03-09T14:18:49Z")

</div>

I tried to deactivate all Plugins and I still couldn’t reach panel.  
I’m still stuck on this problem.

Is there any other hint you can give me?

---

<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:** [March 9, 2020, 2:40pm UTC](https://forum.getkirby.com/t/panel-not-found-after-switching-to-new-php-version/17526/19 "2020-03-09T14:40:04Z")

</div>

Let’s get some order into this again and see where we currently are:

- Have you updated Kirby and the Panel to 2.5.13?

- Are we talking about the local Docker container, the live site or both?

- Is PHP really set to 7.1+ (make sure by checking `phpinfo()`)?

- Have you also tried to install a fresh 2.5.13 Starterkit to check if that works?

---

<div class="post-metadata">

**Author:** ![ahmetbora](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/ahmetbora/32/11671_2.png) [@ahmetbora](https://forum.getkirby.com/u/ahmetbora)\
**Post date:** [March 9, 2020, 3:01pm UTC](https://forum.getkirby.com/t/panel-not-found-after-switching-to-new-php-version/17526/20 "2020-03-09T15:01:42Z")

</div>

In older versions, I was getting the same error. Its fixed when they updated to 2.5.12/13.

[Next page](https://forum.getkirby.com/t/panel-not-found-after-switching-to-new-php-version/17526.md?page=2)
