Our team created for you one of the most innovative CRM systems that supports mainly business processes and allows for customization according to your needs. Be ahead of your competition and implement YetiForce!
When running the mail scanner (interactively or via cron) and there is an issue with the attachments, the function validateAndSecure() may be called when the object does not exist, i.e. when the creating function in app/Fields/File.phpstatic::loadFromFileor static::loadFromUrl returns false or null.
To correct this, ensure that validateAndSecure() is only called on a proper object, for example by replacing
🐞 bug report
⁉️ Describe the bug
When running the mail scanner (interactively or via cron) and there is an issue with the attachments, the function
validateAndSecure()
may be called when the object does not exist, i.e. when the creating function inapp/Fields/File.php
static::loadFromFile
orstatic::loadFromUrl
returnsfalse
ornull
.To correct this, ensure that
validateAndSecure()
is only called on a proper object, for example by replacingwith
🌍 Your Environment