This is not my plugin error, it is the other plugin trying to write in it’s log file and file is missing.
Thread Starter
dimal
(@dimalifragis)
Hello.
Same reply from the Firewall dev.
So what is the verdict ?
-
This reply was modified 6 years, 9 months ago by
dimal.
Thread Starter
dimal
(@dimalifragis)
With GD mail queue plugin disabled all attachments arrive and no errors.
Can you please take a closer look at this issue, because i either have to disable a useful function from the firewall or disable your plugin. I don’t want to do any of those two.
If the one dev blaims the other’s plugin, what can i do ?
Thanks
Thread Starter
dimal
(@dimalifragis)
The reply from the Ninja firewall plugin:
The attachment is a temporary file: NinjaFirewall creates it, calls the WP wp_mail function and when that functions returns, it deletes the temp file.
If you have a plugin that delays the sending but does not manage to retrieve the attached file immediately (i.e., it thinks the file is still on disk), you’ll end up with this error.
Ok, I get it. My plugin doesn’t copy attachments, that can cause performance issues on shared hosting, and my plugin has to keep multiple copies if each file, depending on number of recipients. And, in 99.99% cases, attachments are not temp files. I will considering adding option for this in the future.
Thread Starter
dimal
(@dimalifragis)
Thanks.
Could you at least error more gracefully ? If possible.
Next version will include option to handle what to do in such case (send without attachment, or don’t sent at all). Problem with making copies of attachments is huge, and for now, I am not sure how to handle it properly without causing various other issues. I hope to release new updated later this month, or early in October.