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'];
Bug Report
Current Behavior
Using the extension in a multilanguage setup the dashboard gets unaccessible due to the lines
cart/Classes/Widgets/Provider/OrdersPerDayProvider.php
Line 32 in 257cea6
and
cart/Classes/Widgets/Provider/TurnoverPerDayProvider.php
Line 31 in 257cea6
Expected behavior/output
Widget shall not lead to an error.
Environment
Possible Solution
The given code can be replaced with