Issue Bug Closed

#103058Trying to get the configuration data from an extension in scheduler command runs in an Unable to call method "getPageArguments" of non-object "request".

Pascal Geldmacher 02/06/24, 09:00 updated 02/06/24, 09:19

Description

Hi,

I try to get the configuration settings from my extension in my scheduler command via shell.

This is what I do:

 $settings = $this->configurationManager->getConfiguration(
            ConfigurationManager::CONFIGURATION_TYPE_SETTINGS,
            'OfJobmarket'
        );

But I get the error: Unable to call method “getPageArguments” of non-object “request”.

If I run the command at the TYPO3 Backend everything works.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.