TypeError: Symfony\Component\HttpFoundation\ParameterBag::has(): Argument #1 ($key) must be of type string, null given

Created on 4 September 2023, about 1 year ago

Problem/Motivation

Warning: Undefined array key "blacklisted_paths" in /var/www/html/web/modules/contrib/language_cookie/src/Plugin/LanguageCookieCondition/LanguageCookieConditionBlacklistedPaths.php on line 101
The website encountered an unexpected error. Please try again later.

TypeError: Symfony\Component\HttpFoundation\ParameterBag::has(): Argument #1 ($key) must be of type string, null given, called in /var/www/html/web/modules/contrib/language_cookie/src/Plugin/LanguageNegotiation/LanguageNegotiationCookie.php on line 80 in Symfony\Component\HttpFoundation\ParameterBag->has() (line 97 of /var/www/html/vendor/symfony/http-foundation/ParameterBag.php).

Proposed resolution

Add null verification

🐛 Bug report
Status

Downport

Version

2.0

Component

Code

Created by

🇧🇷Brazil raulmangolin

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024