🐛 | Language Switcher Dropdown | Fix TypeError: array_keys(): Argument #1 ($array) must be of type array, null given in Language Drop down Block class
🇪🇸Spain menu2crak
Hello, after applying patch 16, I solved the error "TypeError: array_keys(): Argument #1 ($array) must be of type array, null given in Language Drop down Block class" the problem that now gives me another error new. The error occurs because you are trying to count a null variable. Line 239 web/modules/contrib/dropdown_language/src/Plugin/Block/DropdownLanguage.php
Do I have to make a new patch?
Greetings and thank you