Support the ongoing development of Laravel.io →
Mail Queues Jobs
Last updated 1 year ago.
0

I've just resolved the similar issue. Without using a queue everything worked all right, but when I added ShouldQueue to my class responsible for the sending of email I received the same exception. In my case there was a call to helper request() in function build(). Instead of this, I should have used dependency injection to pass the necessary data to this class, which is suggested by documentation. Maybe, this will help

0

Sign in to participate in this thread!

Eventy

Your banner here too?

razor9999 razor9999 Joined 22 Feb 2017

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.