Skip to content

Widgets throw error due to broken \LanguageServiceFactory::create() #707

Closed

Description

@rintisch

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'];

Activity

  1. self-assigned this
    on Oct 25, 2025
  2. added 3 commits that reference this issue on Oct 25, 2025
    9074b79
    a5706c5
    f0d4d68
  3. added
    10.xrelated to TYPO3 v12
    11.xrelated to TYPO3 v13
    on Nov 26, 2025
  4. d-g-codappix commented on Jan 29, 2026

    @d-g-codappix
    Collaborator

    Should be fixed with #735 and #737.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

10.xrelated to TYPO3 v1211.xrelated to TYPO3 v13

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions