Actions
Bug #103058
closedTrying to get the configuration data from an extension in scheduler command runs in an Unable to call method "getPageArguments" of non-object "request".
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