Project

General

Profile

Actions

Bug #103058

closed

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

Added by Pascal Geldmacher 3 months ago. Updated 3 months ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
CLI
Target version:
-
Start date:
2024-02-06
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

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.

Actions #1

Updated by Mathias Brodala 3 months ago

  • Status changed from New to Closed

Please use the options described here to get support: https://typo3.org/help

If you encounter an actual issue, feel free to search for existing reports and create a new one if necessary.

Actions

Also available in: Atom PDF