Kirby 2.1 beta: PHP warning in panel when changing settings

Hi,

I get this PHP Warning in the panel (2.1 beta/german) when I save changes to the site settings and then go back to overview. Doesn’t seem do break anything though.

Warning: trim() expects parameter 1 to be string, array given in /kirby/core/children.php on line 90

Warning: Cannot modify header information - headers already sent by (output started at /kirby/core/children.php:90) in /kirby/toolkit/lib/response.php on line 64

Warning: Cannot modify header information - headers already sent by (output started at /kirby/core/children.php:90) in /kirby/toolkit/lib/response.php on line 65
1 Like

Can’t reproduce that issue. Do you use any particular config.php or site.php? Or any plugins, especially custom panel fields?

I’ve had this with a custom field but instead of fixing it I dropped the field :smiley:

Nothing special in there. The only maybe special thing is that the site is multilingual (en/de). But no fields or plugins though.

I just managed to reproduce the error, but on a non-multi-lingual site.

2 Likes