-
-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Labels
Description
Bug Report
Current Behavior
Using the extension in a multilanguage setup the dashboard gets unaccessible due to the lines
| $this->languageService = GeneralUtility::makeInstance(LanguageServiceFactory::class)->create($GLOBALS['BE_USER']->uc['lang']); |
and
| $this->languageService = GeneralUtility::makeInstance(LanguageServiceFactory::class)->create($GLOBALS['BE_USER']->uc['lang']); |
Expected behavior/output
Widget shall not lead to an error.
Environment
- TYPO3 version(s): 13.4.18
- cart version: 11.15.0
- Is your TYPO3 installation set up with Composer (Composer Mode): yes
Possible Solution
The given code can be replaced with
$this->languageService = $GLOBALS['LANG'];