You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Execution failed: 0, Unable to call method "getQueryParams" of non-object "request".
I'm not 100% sure why this message pops up in TYPO3 12.4.22 with powermail 12.5.0 but I just copied code from EXT:lux commands (as part of TYPO3 13) that seems to help:
public function execute(InputInterface $input, OutputInterface $output): int
{
Bootstrap::initializeBackendAuthentication();
$configurationManager = GeneralUtility::makeInstance(ConfigurationManagerInterface::class);
$configurationManager->setRequest(
(new ServerRequest())->withAttribute('applicationType', SystemEnvironmentBuilder::REQUESTTYPE_BE)
);
$usedUploads = $this->getUsedUploads();
...
Errormessage in Scheduler when called from CLI:
I'm not 100% sure why this message pops up in TYPO3 12.4.22 with powermail 12.5.0 but I just copied code from EXT:lux commands (as part of TYPO3 13) that seems to help:
See: https://github.com/in2code-de/lux/blob/develop/Classes/Command/ExtbaseCommandTrait.php
Even if I thought this was only relevant for TYPO3 13, it seems also to help here.
Internal issue: https://projekte.in2code.de/issues/68215
The text was updated successfully, but these errors were encountered: