Skip to content

Console command throws error ($GLOBALS['TYPO3_REQUEST'] is null) #57

@rintisch

Description

@rintisch

Trying to import glossaries throws the following error:

Uncaught TYPO3 Exception TYPO3\CMS\Extbase\Configuration\BackendConfigurationManager::getTypoScriptSetup(): Argument #1 ($request) must be of type Psr\Http\Message\ServerRequestInterface, null given, called in /var/www/html/vendor/dmitryd/dd-deepl/Classes/Configuration/Configuration.php on line 55
thrown in file /var/www/html/vendor/typo3/cms-extbase/Classes/Configuration/BackendConfigurationManager.php
in line 146

The named line is:

public function __construct(BackendConfigurationManager $configurationManager)
{
$ts = $configurationManager->getTypoScriptSetup($GLOBALS['TYPO3_REQUEST']);

This change was introduced with [FEATURE] #48: update for TYPO3 v13.

Running the command does not create a request so this command has to fail - don't it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions