Hi Stefan
You get this error because und isn’t a supported language code.
What languages are configured?
You can check this under Settings->Languages (polylang language settings).
Do all languages have a correct language code?
Polylangs default code should work. You can use this list as reference to check: http://remy.supertext.ch/2016/10/supertext-api-supported-languages/