Error for Aimeos Scheduled Tasks

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
Metalics
Advanced
Posts: 115
Joined: 13 Jul 2015, 23:59

Error for Aimeos Scheduled Tasks

Post by Metalics » 07 Mar 2025, 22:20

Hi to all,
It is impossible to run Aimeos scheduler tasks via Cron, the following error appears;

[ERROR] No request given. ConfigurationManager has not been initialized properly.
Exception in scheduler task #3 (Aimeos Shop advanced scheduler)
Class: Aimeos\Aimeos\Scheduler\Task\Email6
File: /....../typo3_src-13.4.5/typo3/sysext/extbase/Classes/Configuration/ConfigurationManager.php:89


Typo3 V 13.4.5
PHP V 8.2.27
MySQL 10.6.21-MariaDB

User avatar
aimeos
Administrator
Posts: 8538
Joined: 01 Jan 1970, 00:00

Re: Error for Aimeos Scheduled Tasks

Post by aimeos » 08 Mar 2025, 11:24

Since when does it occur and which Aimeos version are you using?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
Metalics
Advanced
Posts: 115
Joined: 13 Jul 2015, 23:59

Re: Error for Aimeos Scheduled Tasks

Post by Metalics » 08 Mar 2025, 11:57

We have Typo3 V12.4.27 and Typo3 V13.4.5 in same environment (both is using Aimeos 24.10.4).
Scheduler tasks via cron is working with V12 but not working with V13.

User avatar
aimeos
Administrator
Posts: 8538
Joined: 01 Jan 1970, 00:00

Re: Error for Aimeos Scheduled Tasks

Post by aimeos » 11 Mar 2025, 17:28

We can confirm the problem when the scheduler tasks are run by a cronjob. From the TYPO3 backend it works as expected.

There's a ticket for that in the but tracker:
https://forge.typo3.org/issues/105554

There's an extension named which may be a workaround for the problem:
https://github.com/undkonsorten/extbase ... on-manager
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
aimeos
Administrator
Posts: 8538
Joined: 01 Jan 1970, 00:00

Re: Error for Aimeos Scheduled Tasks

Post by aimeos » 13 Mar 2025, 11:48

We've added a workaround in 2024.10.x-dev, which will be in the next minor release.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
Metalics
Advanced
Posts: 115
Joined: 13 Jul 2015, 23:59

Re: Error for Aimeos Scheduled Tasks

Post by Metalics » 13 Mar 2025, 14:22

aimeos wrote: 13 Mar 2025, 11:48 We've added a workaround in 2024.10.x-dev, which will be in the next minor release.
We applied the code for workaround, now this error appears:
Uncaught TYPO3 Exception Too few arguments to function TYPO3\CMS\Extbase\Configuration\BackendConfigurationManager::__construct(), 0 passed in /......../typo3_src-13.4.7/typo3/sysext/core/Classes/Utility/GeneralUtility.php on line 2836 and exactly 8 expected
thrown in file /...../typo3_src-13.4.7/typo3/sysext/extbase/Classes/Configuration/BackendConfigurationManager.php
in line 72

User avatar
aimeos
Administrator
Posts: 8538
Joined: 01 Jan 1970, 00:00

Re: Error for Aimeos Scheduled Tasks

Post by aimeos » 13 Mar 2025, 14:25

Sorry, the last change didn't make it into the PR. Now, it's correct.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

User avatar
Metalics
Advanced
Posts: 115
Joined: 13 Jul 2015, 23:59

Re: Error for Aimeos Scheduled Tasks

Post by Metalics » 13 Mar 2025, 20:47

Thank you, now it is working.

Post Reply