You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When old email logs get pruned and they don't have any attachments to delete, I get the following error:
TypeError
League\Flysystem\Filesystem::directoryExists(): Argument #1 ($location) must be of type string, null given, called in /vendor/laravel/framework/src/Illuminate/Filesystem/FilesystemAdapter.php on line 225
The error occurs in the Email model, because the $folderPath variable is null:
/vendor/rickdbcn/filament-email/src/Models/Email.php in RickDBCN\FilamentEmail\Models\Email::RickDBCN\FilamentEmail\Models\{closure} at line 94
How to reproduce the bug
Enable the email log prune
Ensure that an email log without attachments can be pruned
When the email log is deleted, an error appears in the logs
Package Version
1.6.1
PHP Version
8.2.23
Laravel Version
10.48.20
Which operating systems does with happen with?
macOS, Linux
Notes
No response
The text was updated successfully, but these errors were encountered:
What happened?
When old email logs get pruned and they don't have any attachments to delete, I get the following error:
The error occurs in the
Email
model, because the$folderPath
variable is null:How to reproduce the bug
Package Version
1.6.1
PHP Version
8.2.23
Laravel Version
10.48.20
Which operating systems does with happen with?
macOS, Linux
Notes
No response
The text was updated successfully, but these errors were encountered: