Daandelange / kirby3-TranslatedLayout

A layout field with embedded translation logic.
MIT License
17 stars 1 forks source link

Php error on second language after adding a block in first language #1

Closed seb-celinedesign closed 1 year ago

seb-celinedesign commented 2 years ago

Panel error on second language after adding a block in first language : array_key_exists(): Argument #2 ($array) must be of type array, null given in file: /Users/seb/Sites/proprietes.fr/site/plugins/translatedlayout/src/classes/TranslatedLayoutField.php line: 188

Daandelange commented 2 years ago

Hey, thanks for the report. That's weird because i've used an @ to silent array_key_exists errors. I'll try to digg it. Anyways, the error should not prevent the plugin from working. :)

Daandelange commented 1 year ago

This was due to the PHP8 stfu operator change. Fixed now ;)