philipp
November 17, 2015, 8:23pm
1
So i have labels for some fields and i get the following error:
Warning: Illegal offset type in isset or empty in kirby/toolkit/lib/a.php on line 56
if i remove the indentation the error is gone, but so are the labels…
fields:
title:
label:
de: Menü Titel
en: Menu Title
type: text
required: true
description:
label:
de: Beschreibung
en: Description
type: textarea
did i miss sth, or is someone else having this issue?
Thanks
Ps: Thanks for the new sweets inside kirby
type: text
Just a wild guess but, maybe try removing the double-space here?
philipp
November 17, 2015, 8:54pm
3
thanks for the input, that didn’t solve it… for testing purposes i copied the code from the docs too ( http://getkirby.com/docs/panel/blueprints/form-fields ). but that didn’t fix the error message.
Only if i remove the labels i get no error message.
texnixe
November 17, 2015, 8:57pm
4
Hm, I don’t get an error message but no language specific labels either.
philipp
November 17, 2015, 9:28pm
5
The error message is only visible if
c::set('debug', true);
but no labels
texnixe
November 17, 2015, 9:39pm
6
Yes, you are right, I had debug turned off in my test environment. Could you create an issue on GitHub?
philipp
November 17, 2015, 9:39pm
7
sure! will be up in a minute or two
edit: (hope it was correct to post it in kirby not in toolkit )
I’ve just submitted a PR which fixes this
4 Likes
It’s fixed on the develop branch and will be in the patch release later today. Sorry for this!!
1 Like