I have purchased the script and installe dit on a DO server with the one click installer.
When I try to send an email I recive following error.
Type of App\Mail\TestMail::$theme must not be defined (as in class Illuminate\Mail\Mailable)
Symfony\Component\ErrorHandler\Error\
FatalError
in /var/www/html/app/Mail/TestMail.php (line 9)
use Illuminate\Bus\Queueable;use Illuminate\Mail\Mailable;use Illuminate\Queue\SerializesModels;class TestMail extends Mailable{ use Queueable, SerializesModels; public string $theme = 'mailcoach::mails.layout.mailcoach';
Hello,
I have purchased the script and installe dit on a DO server with the one click installer.
When I try to send an email I recive following error.
Type of App\Mail\TestMail::$theme must not be defined (as in class Illuminate\Mail\Mailable)
Symfony\Component\ErrorHandler\Error\
FatalError
in /var/www/html/app/Mail/TestMail.php (line 9)
use Illuminate\Bus\Queueable;use Illuminate\Mail\Mailable;use Illuminate\Queue\SerializesModels;class TestMail extends Mailable{ use Queueable, SerializesModels; public string $theme = 'mailcoach::mails.layout.mailcoach';