Closed isaactopo closed 3 years ago
Also: After saving the second language, you can edit it. But if you go back to the default language and save it, the editing on the second language will be broken again.
This also breaks the Builder-Plugin: https://github.com/TimOetting/kirby-builder/issues/54
@bastianallgeier you can fix it by using the current language:
$fileDefL = $this->structure->model()->textfile(null, site()->language()->code());
Hey, I'm afraid I still have this error, been trying to isolate the problem and this is how I get it; when I place an empty image field after a structure field in the panel, change the language 3 or 4 times and then try to edit the structure I get the above mentioned error. Tried this on an clean install of Kirby.
If you are on a multilanguage setup,
If you save the page and then edit is all ok, but i think it colud be better to not throw this error, get the default values from the default language and let the user edit and save without an error.