Blank panel after upgrading to 2.5.12


#1

Hello,

I upgraded to version 2.5.12 in a local Docker environment and online. On the online side, the site works, but the panel is blank giving the following errors:

**Warning** : session_name(): Cannot change session name when headers already sent in  **/usr/www/users/alexpa/sotiroudis.gr/kirby/vendor/getkirby/toolkit/lib/s.php**  on line  **48**

**Warning** : ini_set(): Headers already sent. You cannot change the session module's ini settings at this time in  **/usr/www/users/alexpa/sotiroudis.gr/kirby/vendor/getkirby/toolkit/lib/s.php**  on line  **51**

**Warning** : ini_set(): Headers already sent. You cannot change the session module's ini settings at this time in  **/usr/www/users/alexpa/sotiroudis.gr/kirby/vendor/getkirby/toolkit/lib/s.php**  on line  **52**

**Warning** : session_set_cookie_params(): Cannot change session cookie parameters when headers already sent in  **/usr/www/users/alexpa/sotiroudis.gr/kirby/vendor/getkirby/toolkit/lib/s.php**  on line  **60**

and this shows for many lines.

What can I do to fix this?


#2

Is there any output before that?


#3

No, I am getting a blank page. I forgot to mention that the errors are shown when I enable them on the server settings.


#4

That’s strange. The error message is a PHP error that generally only occurs if there was already output. Have you checked in the dev tools source view if there really was no output (not even a single character)?


#5

Devtools show a blank file with only line 1 - which is empty.


#6

Alright. Which PHP version and web server do you use?


#7

The php version is 7.3, on apache server.


#8

Kirby 2 is currently not officially tested with PHP 7.3 as Kirby 2.5.12 was released before PHP 7.3 was available. But if you use the same Docker container locally and it works, that can’t really be it.

Issues like this are very hard to debug. One idea I have is that a file was corrupted while uploading/deploying. So what you could try is to replace the kirby and panel directories on the server.