Create account on checkout

Help for integrating the Laravel package
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!
thestranger
Posts: 16
Joined: 06 Jun 2024, 04:34

Create account on checkout

Post by thestranger » 02 Aug 2024, 13:29

Laravel 11
Aimeos 2024.07
PHP 8.2

I have a multisite setup and all mails work except the create account, the account gets created but the user doesn't get the email and I get this error. Everything was made by the docs and everything else works, it makes no sense.

Code: Select all

	Error while trying to send customer account e-mail: Missing required parameter for [Route: aimeos_shop_account] [URI: profile] [Missing parameter: site].
#0 /home/upperbiz/antreprenormerch.ro/vendor/laravel/framework/src/Illuminate/Routing/RouteUrlGenerator.php(90): 

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

Re: Create account on checkout

Post by aimeos » 02 Aug 2024, 14:11

Do you have the full stack trace available?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

thestranger
Posts: 16
Joined: 06 Jun 2024, 04:34

Re: Create account on checkout

Post by thestranger » 03 Aug 2024, 05:59

Code: Select all

Error while trying to send customer account e-mail: Missing required parameter for [Route: aimeos_shop_account] [URI: profile] [Missing parameter: site].
#0 /home/upperbiz/antreprenormerch.ro/vendor/laravel/framework/src/Illuminate/Routing/RouteUrlGenerator.php(90): Illuminate\Routing\Exceptions\UrlGenerationException::forMissingParameters()
#1 /home/upperbiz/antreprenormerch.ro/vendor/laravel/framework/src/Illuminate/Routing/UrlGenerator.php(539): Illuminate\Routing\RouteUrlGenerator->to()
#2 /home/upperbiz/antreprenormerch.ro/vendor/laravel/framework/src/Illuminate/Routing/UrlGenerator.php(504): Illuminate\Routing\UrlGenerator->toRoute()
#3 /home/upperbiz/antreprenormerch.ro/vendor/aimeos/ai-laravel/src/Base/View/Helper/Url/Laravel.php(62): Illuminate\Routing\UrlGenerator->route()
#4 [internal function]: Aimeos\Base\View\Helper\Url\Laravel->transform()
#5 /home/upperbiz/antreprenormerch.ro/vendor/aimeos/aimeos-base/src/View/Standard.php(87): call_user_func_array()
#6 /home/upperbiz/antreprenormerch.ro/vendor/aimeos/aimeos-base/src/View/Helper/Link/Standard.php(53): Aimeos\Base\View\Standard->__call()
#7 [internal function]: Aimeos\Base\View\Helper\Link\Standard->transform()
#8 /home/upperbiz/antreprenormerch.ro/vendor/aimeos/aimeos-base/src/View/Standard.php(87): call_user_func_array()
#9 /home/upperbiz/antreprenormerch.ro/vendor/aimeos/ai-controller-jobs/templates/controller/jobs/customer/email/account/html.php(38): Aimeos\Base\View\Standard->__call()
#10 /home/upperbiz/antreprenormerch.ro/vendor/aimeos/aimeos-base/src/View/Standard.php(281): include('/home/upperbiz/...')
#11 /home/upperbiz/antreprenormerch.ro/vendor/aimeos/aimeos-base/src/View/Standard.php(263): Aimeos\Base\View\Standard->includeFile()
#12 /home/upperbiz/antreprenormerch.ro/vendor/aimeos/ai-controller-jobs/src/Controller/Jobs/Customer/Email/Account/Standard.php(252): Aimeos\Base\View\Standard->render()
#13 /home/upperbiz/antreprenormerch.ro/vendor/aimeos/ai-controller-jobs/src/Controller/Jobs/Customer/Email/Account/Standard.php(190): Aimeos\Controller\Jobs\Customer\Email\Account\Standard->send()
#14 /home/upperbiz/antreprenormerch.ro/vendor/aimeos/aimeos-laravel/src/Command/JobsCommand.php(50): Aimeos\Controller\Jobs\Customer\Email\Account\Standard->run()
#15 [internal function]: Aimeos\Shop\Command\JobsCommand->Aimeos\Shop\Command\closure()
#16 /home/upperbiz/antreprenormerch.ro/vendor/aimeos/aimeos-base/src/Process/Pcntl.php(181): call_user_func_array()
#17 /home/upperbiz/antreprenormerch.ro/vendor/aimeos/aimeos-base/src/Process/Pcntl.php(116): Aimeos\Base\Process\Pcntl->exec()
#18 /home/upperbiz/antreprenormerch.ro/vendor/aimeos/aimeos-base/src/Process/Decorator/Check.php(61): Aimeos\Base\Process\Pcntl->start()
#19 /home/upperbiz/antreprenormerch.ro/vendor/aimeos/aimeos-laravel/src/Command/JobsCommand.php(59): Aimeos\Base\Process\Decorator\Check->start()
#20 [internal function]: Aimeos\Shop\Command\JobsCommand->Aimeos\Shop\Command\closure()
#21 /home/upperbiz/antreprenormerch.ro/vendor/aimeos/aimeos-base/src/Process/Pcntl.php(181): call_user_func_array()
#22 /home/upperbiz/antreprenormerch.ro/vendor/aimeos/aimeos-base/src/Process/Pcntl.php(116): Aimeos\Base\Process\Pcntl->exec()
#23 /home/upperbiz/antreprenormerch.ro/vendor/aimeos/aimeos-base/src/Process/Decorator/Check.php(61): Aimeos\Base\Process\Pcntl->start()
#24 /home/upperbiz/antreprenormerch.ro/vendor/aimeos/aimeos-laravel/src/Command/AbstractCommand.php(63): Aimeos\Base\Process\Decorator\Check->start()
#25 /home/upperbiz/antreprenormerch.ro/vendor/aimeos/aimeos-laravel/src/Command/JobsCommand.php(65): Aimeos\Shop\Command\AbstractCommand->exec()
#26 /home/upperbiz/antreprenormerch.ro/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Aimeos\Shop\Command\JobsCommand->handle()
#27 /home/upperbiz/antreprenormerch.ro/vendor/laravel/framework/src/Illuminate/Container/Util.php(41): Illuminate\Container\BoundMethod::Illuminate\Container\closure()
#28 /home/upperbiz/antreprenormerch.ro/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure()
#29 /home/upperbiz/antreprenormerch.ro/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\Container\BoundMethod::callBoundMethod()
#30 /home/upperbiz/antreprenormerch.ro/vendor/laravel/framework/src/Illuminate/Container/Container.php(690): Illuminate\Container\BoundMethod::call()
#31 /home/upperbiz/antreprenormerch.ro/vendor/laravel/framework/src/Illuminate/Console/Command.php(213): Illuminate\Container\Container->call()
#32 /home/upperbiz/antreprenormerch.ro/vendor/symfony/console/Command/Command.php(279): Illuminate\Console\Command->execute()
#33 /home/upperbiz/antreprenormerch.ro/vendor/laravel/framework/src/Illuminate/Console/Command.php(182): Symfony\Component\Console\Command\Command->run()
#34 /home/upperbiz/antreprenormerch.ro/vendor/symfony/console/Application.php(1047): Illuminate\Console\Command->run()
#35 /home/upperbiz/antreprenormerch.ro/vendor/symfony/console/Application.php(316): Symfony\Component\Console\Application->doRunCommand()
#36 /home/upperbiz/antreprenormerch.ro/vendor/symfony/console/Application.php(167): Symfony\Component\Console\Application->doRun()
#37 /home/upperbiz/antreprenormerch.ro/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(196): Symfony\Component\Console\Application->run()
#38 /home/upperbiz/antreprenormerch.ro/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1203): Illuminate\Foundation\Console\Kernel->handle()
#39 /home/upperbiz/antreprenormerch.ro/artisan(13): Illuminate\Foundation\Application->handleCommand()
#40 main

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

Re: Create account on checkout

Post by aimeos » 03 Aug 2024, 09:03

There seemed to be a missing parameter in the link. Can you please install this package version and test if it works now?

Code: Select all

composer req aimeos/ai-controller-jobs:2024.07.x-dev
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply