Error: Object of class Symfony\Component\Mime\Part\TextPart could not be converted to string in /home/bazarch2/api.core/app/Listeners/LogEmailSent.php:52
Stack trace:
#0 /home/bazarch2/api.core/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(512): App\Listeners\LogEmailSent->handle(Object(Illuminate\Mail\Events\MessageSent))
#1 /home/bazarch2/api.core/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(319): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}('Illuminate\\Mail...', Array)
#2 /home/bazarch2/api.core/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(299): Illuminate\Events\Dispatcher->invokeListeners('Illuminate\\Mail...', Array, false)
#3 /home/bazarch2/api.core/vendor/laravel/framework/src/Illuminate/Mail/Mailer.php(617): Illuminate\Events\Dispatcher->dispatch(Object(Illuminate\Mail\Events\MessageSent))
#4 /home/bazarch2/api.core/vendor/laravel/framework/src/Illuminate/Mail/Mailer.php(336): Illuminate\Mail\Mailer->dispatchSentEvent(Object(Illuminate\Mail\SentMessage), Array)
#5 /home/bazarch2/api.core/vendor/laravel/framework/src/Illuminate/Mail/Mailable.php(207): Illuminate\Mail\Mailer->send(Object(Illuminate\Support\HtmlString), Array, Object(Closure))
#6 /home/bazarch2/api.core/vendor/laravel/framework/src/Illuminate/Support/Traits/Localizable.php(19): Illuminate\Mail\Mailable->Illuminate\Mail\{closure}()
#7 /home/bazarch2/api.core/vendor/laravel/framework/src/Illuminate/Mail/Mailable.php(200): Illuminate\Mail\Mailable->withLocale(NULL, Object(Closure))
#8 /home/bazarch2/api.core/vendor/laravel/framework/src/Illuminate/Mail/SendQueuedMailable.php(82): Illuminate\Mail\Mailable->send(Object(Illuminate\Mail\MailManager))
#9 /home/bazarch2/api.core/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\Mail\SendQueuedMailable->handle(Object(Illuminate\Mail\MailManager))
#10 /home/bazarch2/api.core/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#11 /home/bazarch2/api.core/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\Container\Util::unwrapIfClosure(Object(Closure))
#12 /home/bazarch2/api.core/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Foundation\Application), Array, Object(Closure))
#13 /home/bazarch2/api.core/vendor/laravel/framework/src/Illuminate/Container/Container.php(799): Illuminate\Container\BoundMethod::call(Object(Illuminate\Foundation\Application), Array, Array, NULL)
#14 /home/bazarch2/api.core/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(129): Illuminate\Container\Container->call(Array)
#15 /home/bazarch2/api.core/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}(Object(Illuminate\Mail\SendQueuedMailable))
#16 /home/bazarch2/api.core/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Mail\SendQueuedMailable))
#17 /home/bazarch2/api.core/vendor/laravel/framework/src/Illuminate/Bus/Dispatcher.php(133): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#18 /home/bazarch2/api.core/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(136): Illuminate\Bus\Dispatcher->dispatchNow(Object(Illuminate\Mail\SendQueuedMailable), false)
#19 /home/bazarch2/api.core/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\Queue\CallQueuedHandler->Illuminate\Queue\{closure}(Object(Illuminate\Mail\SendQueuedMailable))
#20 /home/bazarch2/api.core/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(137): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Illuminate\Mail\SendQueuedMailable))
#21 /home/bazarch2/api.core/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(129): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#22 /home/bazarch2/api.core/vendor/laravel/framework/src/Illuminate/Queue/CallQueuedHandler.php(70): Illuminate\Queue\CallQueuedHandler->dispatchThroughMiddleware(Object(Illuminate\Queue\Jobs\DatabaseJob), Object(Illuminate\Mail\SendQueuedMailable))
#23 /home/bazarch2/api.core/vendor/laravel/framework/src/Illuminate/Queue/Jobs/Job.php(102): Illuminate\Queue\CallQueuedHandler->call(Object(Illuminate\Queue\Jobs\DatabaseJob), Array)
#24 /home/bazarch2/api.core/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(504): Illuminate\Queue\Jobs\Job->fire()
#25 /home/bazarch2/api.core/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(454): Illuminate\Queue\Worker->process('database', Object(Illuminate\Queue\Jobs\DatabaseJob), Object(Illuminate\Queue\WorkerOptions))
#26 /home/bazarch2/api.core/vendor/laravel/framework/src/Illuminate/Queue/Worker.php(212): Illuminate\Queue\Worker->runJob(Object(Illuminate\Queue\Jobs\DatabaseJob), 'database', Object(Illuminate\Queue\WorkerOptions))
#27 /home/bazarch2/api.core/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(149): Illuminate\Queue\Worker->daemon('database', 'default', Object(Illuminate\Queue\WorkerOptions))
#28 /home/bazarch2/api.core/vendor/laravel/framework/src/Illuminate/Queue/Console/WorkCommand.php(132): Illuminate\Queue\Console\WorkCommand->runWorker('database', 'default')
#29 /home/bazarch2/api.core/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Illuminate\Queue\Console\WorkCommand->handle()
#30 /home/bazarch2/api.core/vendor/laravel/framework/src/Illuminate/Container/Util.php(43): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#31 /home/bazarch2/api.core/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(96): Illuminate\Container\Util::unwrapIfClosure(Object(Closure))
#32 /home/bazarch2/api.core/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(35): Illuminate\Container\BoundMethod::callBoundMethod(Object(Illuminate\Foundation\Application), Array, Object(Closure))
#33 /home/bazarch2/api.core/vendor/laravel/framework/src/Illuminate/Container/Container.php(799): Illuminate\Container\BoundMethod::call(Object(Illuminate\Foundation\Application), Array, Array, NULL)
#34 /home/bazarch2/api.core/vendor/laravel/framework/src/Illuminate/Console/Command.php(211): Illuminate\Container\Container->call(Array)
#35 /home/bazarch2/api.core/vendor/symfony/console/Command/Command.php(341): Illuminate\Console\Command->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle))
#36 /home/bazarch2/api.core/vendor/laravel/framework/src/Illuminate/Console/Command.php(180): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Illuminate\Console\OutputStyle))
#37 /home/bazarch2/api.core/vendor/symfony/console/Application.php(1117): Illuminate\Console\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#38 /home/bazarch2/api.core/vendor/symfony/console/Application.php(356): Symfony\Component\Console\Application->doRunCommand(Object(Illuminate\Queue\Console\WorkCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#39 /home/bazarch2/api.core/vendor/symfony/console/Application.php(195): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#40 /home/bazarch2/api.core/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(198): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#41 /home/bazarch2/api.core/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1235): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#42 /home/bazarch2/api.core/artisan(16): Illuminate\Foundation\Application->handleCommand(Object(Symfony\Component\Console\Input\ArgvInput))
#43 {main}