Both the JSON and PDF files are written, but now for the first time I get this error when running the cron manually:
Unable to deliver 1 invoice to client #1500 via Email due to error: At least one of the attachments provided does not exist on the file system.
And the invoice is not marked as sent.
And the following was written to the general-warning-cron log:
[2021-07-09T22:36:08.373491+00:00] general.WARNING: E_WARNING: file_put_contents(/tmpinv-1-9949f4f34d7ef6675853): failed to open stream: Permission denied
{"code":2,"message":"file_put_contents(/tmpinv-1-9949f4f34d7ef6675853): failed to open stream: Permission denied","file":"/home/user/public_html/511/components/invoice_delivery/invoice_delivery.php","line":132}
[2021-07-09T22:36:08.417856+00:00] general.WARNING: E_WARNING: unlink(/tmpinv-1-9949f4f34d7ef6675853): No such file or directory
{"code":2,"message":"unlink(/tmpinv-1-9949f4f34d7ef6675853): No such file or directory","file":"/home/user/public_html/511/components/invoice_delivery/invoice_delivery.php","line":240}
Both the JSON and PDF files are written, but now for the first time I get this error when running the cron manually:
Unable to deliver 1 invoice to client #1500 via Email due to error: At least one of the attachments provided does not exist on the file system.
And the invoice is not marked as sent.
And the following was written to the general-warning-cron log:
[2021-07-09T22:36:08.373491+00:00] general.WARNING: E_WARNING: file_put_contents(/tmpinv-1-9949f4f34d7ef6675853): failed to open stream: Permission denied
{"code":2,"message":"file_put_contents(/tmpinv-1-9949f4f34d7ef6675853): failed to open stream: Permission denied","file":"/home/user/public_html/511/components/invoice_delivery/invoice_delivery.php","line":132}[2021-07-09T22:36:08.417856+00:00] general.WARNING: E_WARNING: unlink(/tmpinv-1-9949f4f34d7ef6675853): No such file or directory
{"code":2,"message":"unlink(/tmpinv-1-9949f4f34d7ef6675853): No such file or directory","file":"/home/user/public_html/511/components/invoice_delivery/invoice_delivery.php","line":240}