ai-cache error
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
ai-cache error
Hello
Below configuration I have done in config/shop.php
Below configuration I have done in config/shop.php
When I run this command -> php artisan aimeos:clear it show the error below are the error.'resource' => [
.....
'cache' => [
'redis' => [
'scheme' => 'tcp',
'host' => '10.0.0.1',
'port' => 6379,
]
]
.....
],
'madmin' => [
.....
'cache' => [
'manager' => [
'name' => 'redis',
],
],
.....
]
mshop' => [
.....
'cache' => [
'manager' => [
'name' => 'redis',
]
],
.....
]
it's not getting the Locale.Aimeos\MShop\Exception
Locale object not available
at C:\xampp\htdocs\shopping\aimeos\bhs-aimeos\shop\vendor\aimeos\aimeos-core\src\MShop\Context.php:366
362▕ */
363▕ public function locale() : \Aimeos\MShop\Locale\Item\Iface
364▕ {
365▕ if( !isset( $this->locale ) ) {
➜ 366▕ throw new \Aimeos\MShop\Exception( sprintf( 'Locale object not available' ) );
367▕ }
368▕
369▕ return $this->locale;
370▕ }
1 C:\xampp\htdocs\shopping\aimeos\bhs-aimeos\shop\vendor\aimeos\ai-cache\src\MAdmin\Cache\Manager\Redis.php:57
Aimeos\MShop\Context::locale()
2 C:\xampp\htdocs\shopping\aimeos\bhs-aimeos\shop\vendor\aimeos\aimeos-laravel\src\Aimeos\Shop\Command\ClearCommand.php:48
Aimeos\MAdmin\Cache\Manager\Redis::getCache()
Re: ai-cache error
Can you please update to aimeos/ai-cache:2022.07.x-dev?
The locale isn't required any more.
The locale isn't required any more.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star