bricebou / grav-plugin-better-typography

MIT License
2 stars 0 forks source link

(E_WARNING) array_key_exists(): The first argument should be either a string or an integer #2

Closed bricebou closed 2 years ago

bricebou commented 2 years ago

Thanks to @Pasbiengrav in https://github.com/bricebou/grav-plugin-better-typography/issues/1#issuecomment-1207232741

bricebou commented 2 years ago

It seems that this warning appears when no language is configured in Config > System > Languages > Supported.

I've fixed it by using in last resort the Config > Site > Default language value, which is set to "en" by default.