Locale object not available after update to 2025.04
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!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
- JanWohlfeil
- Posts: 6
- Joined: 23 Apr 2021, 07:26
Locale object not available after update to 2025.04
Hello everyone,
I have done a TYPO3 update and also an Aimoes update. After various difficulties, which I was able to solve myself, I now get the following message when executing various Aimeos jobs, for example:
or
always returns the error ‘[ Aimeos\MShop\Exception ] Locale object not available’, or as detailed here in the log file:
After that, no products appear in the categories because the index is probably no longer up to date.
The languages are actually set correctly, but unfortunately I can't understand the error. I would be very grateful for any ideas or tips?
Grüße, Jan
I have done a TYPO3 update and also an Aimoes update. After various difficulties, which I was able to solve myself, I now get the following message when executing various Aimeos jobs, for example:
Code: Select all
php vendor/bin/typo3 aimeos:jobs media/scale
Code: Select all
... index/rebuild
Code: Select all
Mon, 28 Apr 2025 09:27:53 +0200 [CRITICAL] request="485c5a92631a7" component="Helhum.Typo3Console.Error.ExceptionRenderer": Locale object not available- Exception: Locale object not available, in file /var/www/html/vendor/aimeos/aimeos-core/src/MShop/Context.php:381 - {"exception":"Aimeos\\MShop\\Exception: Locale object not available in /var/www/html/vendor/aimeos/aimeos-core/src/MShop/Context.php:381\nStack trace:\n#0 /var/www/html/vendor/aimeos/aimeos-typo3/Classes/Command/JobsCommand.php(129): Aimeos\\MShop\\Context->locale()\n#1 /var/www/html/vendor/aimeos/aimeos-typo3/Classes/Command/JobsCommand.php(56): Aimeos\\Aimeos\\Command\\JobsCommand->context()\n#2 /var/www/html/vendor/symfony/console/Command/Command.php(279): Aimeos\\Aimeos\\Command\\JobsCommand->execute()\n#3 /var/www/html/vendor/symfony/console/Application.php(1094): Symfony\\Component\\Console\\Command\\Command->run()\n#4 /var/www/html/vendor/symfony/console/Application.php(342): Symfony\\Component\\Console\\Application->doRunCommand()\n#5 /var/www/html/vendor/symfony/console/Application.php(193): Symfony\\Component\\Console\\Application->doRun()\n#6 /var/www/html/vendor/typo3/cms-core/Classes/Console/CommandApplication.php(113): Symfony\\Component\\Console\\Application->run()\n#7 /var/www/html/vendor/typo3/cms-cli/typo3(23): TYPO3\\CMS\\Core\\Console\\CommandApplication->run()\n#8 /var/www/html/vendor/typo3/cms-cli/typo3(24): {closure}()\n#9 /var/www/html/vendor/bin/typo3(119): include('...')\n#10 {main}"}
The languages are actually set correctly, but unfortunately I can't understand the error. I would be very grateful for any ideas or tips?
Grüße, Jan
Re: Locale object not available after update to 2025.04
This is a problem introduced by a merged PR.
We think, we've fixed it in aimeos/aimeos-typo3:2025.04.x-dev. Can you confirm?
We think, we've fixed it in aimeos/aimeos-typo3:2025.04.x-dev. Can you confirm?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

- JanWohlfeil
- Posts: 6
- Joined: 23 Apr 2021, 07:26
Re: Locale object not available after update to 2025.04
I have just tested version 2025.04.x-dev, now this error message appears when executing the aimeos:jobs without any further entry in the log files:
Images are then of course not recalculated and you cannot call up the detail page of the articles.
Code: Select all
[ TYPO3\CMS\Extbase\Configuration\Exception\NoServerRequestGivenException ]
No request given. ConfigurationManager has not been initialized properly.
Re: Locale object not available after update to 2025.04
We are unable to reproduce the issue. We've created a new scheduler task for the media/scale job and executed it using "vendor/bin/typo3 scheduler:run -f -i <task id>". There wasn't an exception in our case. Can you please provide more details about your setup (output of "composer show") and a full stack trace of the error?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,
