# Would need help – can't login to the panel since I transferred site to new hosting server

**URL:** <https://forum.getkirby.com/t/would-need-help-cant-login-to-the-panel-since-i-transferred-site-to-new-hosting-server/28328>\
**Category:** Questions\
**Tags:** v2\
**Created:** [April 7, 2023, 12:37pm UTC](https://forum.getkirby.com/t/would-need-help-cant-login-to-the-panel-since-i-transferred-site-to-new-hosting-server/28328 "2023-04-07T12:37:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![mario\_k](https://avatars.discourse-cdn.com/v4/letter/m/94ad74/32.png) [@mario\_k](https://forum.getkirby.com/u/mario_k)\
**Post date:** [April 7, 2023, 12:37pm UTC](https://forum.getkirby.com/t/would-need-help-cant-login-to-the-panel-since-i-transferred-site-to-new-hosting-server/28328/1 "2023-04-07T12:37:21Z")

</div>

Hi, I’m not a developer but only a Kirby user. I’m currently transferring my Website from one host to another host. Therefore the new website host has given me an allias domain to test everything before the transfer ist being completed.

The Kirby Version for my website is:  
Toolkit Version: 2.4.0  
Kirby Version: 2.4.0  
Panel Version: 2.4.0

I copied all the files from the old ftp server to the new and the site is displayed correctly. But when I try to log into my panel, the white error site appears saying:

“This page is currently offline due to an unexpected error. We are very sorry for the inconvenience and will fix it as soon as possible. Advice for developers and administrators: Enable [debug mode](https://getkirby.com/docs/cheatsheet/options/debug) to get further information about the error.”

The PHP Version of the Webserver is 8.2 (also tried it with 8.0 - same error)

I’m aware, that Kirby 2 is not the most up to date version of Kirby, but I don’t have the knowledge to update to Kirby 3 or a new version of Kirby 2 and I’m planning on doing a totally new website anyway in the future. But for now I would really need to fix this problem with the panel, to keep my website running and the content up to date.

I enabled the debug mode and found the following error:

Call to undefined function get \_magic\_quotes\_gpc0  
Error  
… vendor/getkirby/toolkit/lib/str.php:627

the error seems to be in this file:  
/home/.sites/91/site8191695/web/httpdocs/kirby/vendor/getkirby/toolkit/lib/str.php

and this is the more detailed descreption of the error:  
public static function stripslashes($string) {  
if(is\_array($string)) return $string;  
return get \_magic\_quotes\_gpc() ? stripslashes($string) : $string;  
}

I would really appreciate your help!!! THANKS A LOT

Mario

---

<div class="post-metadata">

**Author:** ![jimbobrjames](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/jimbobrjames/32/5802_2.png) [@jimbobrjames](https://forum.getkirby.com/u/jimbobrjames)\
**Post date:** [April 7, 2023, 12:50pm UTC](https://forum.getkirby.com/t/would-need-help-cant-login-to-the-panel-since-i-transferred-site-to-new-hosting-server/28328/2 "2023-04-07T12:50:36Z")

</div>

Welcome 🙂

You need to change the PHP to 7.2. Magic qoutes was deprecated in PHP 7.4.

I would urge you to upgrade / do a new site as soon as possible though, for security reasons.

---

<div class="post-metadata">

**Author:** ![mario\_k](https://avatars.discourse-cdn.com/v4/letter/m/94ad74/32.png) [@mario\_k](https://forum.getkirby.com/u/mario_k)\
**Post date:** [April 7, 2023, 4:21pm UTC](https://forum.getkirby.com/t/would-need-help-cant-login-to-the-panel-since-i-transferred-site-to-new-hosting-server/28328/3 "2023-04-07T16:21:08Z")

</div>

Thanks for this very quick solution/reply!!!

---

<div class="post-metadata">

**Author:** ![distantnative](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/distantnative/32/11319_2.png) [@distantnative](https://forum.getkirby.com/u/distantnative)\
**Post date:** [February 6, 2025, 5:22pm UTC](https://forum.getkirby.com/t/would-need-help-cant-login-to-the-panel-since-i-transferred-site-to-new-hosting-server/28328/4 "2025-02-06T17:22:43Z")

</div>

Archived on February 6, 2025, 5:22pm UTC


