Cron Files & PDF Error

Hello,

Is there any cron files must be define in order to generate automatically the invoices on time?

I enabled the SMTP and selected yes for Attach Quote/Invoice on email?

I have now 2 problems:

  1. the email is empty
  2. does not contain attachment the quote or invoice.

below what I’m getting when I press on send

<?php 
A PHP Error was encountered

Severity: Warning

Message: unlink(/home/snakeeyes/public_html/invoices/uploads/temp/mpdf): Is a directory

Filename: helpers/mpdf_helper.php

Line Number: 117

Backtrace:

File: /home/snakeeyes/public_html/invoices/application/helpers/mpdf_helper.php
Line: 117
Function: unlink

File: /home/snakeeyes/public_html/invoices/application/helpers/pdf_helper.php
Line: 254
Function: pdf_create

File: /home/snakeeyes/public_html/invoices/application/helpers/mailer_helper.php
Line: 92
Function: generate_quote_pdf

File: /home/snakeeyes/public_html/invoices/application/modules/mailer/controllers/Mailer.php
Line: 208
Function: email_quote

File: /home/snakeeyes/public_html/invoices/index.php
Line: 327
Function: require_once
 ?>

I have the same problem and have not been able to find a solution yet. Were you able to find a solution?

I hope we got an answer as I’m still have the same issue since a month.

I checked the https://wiki.invoiceplane.com/en/1.5/modules/recurring-invoices to recurring invoices and I set the cron as well.

The problem is still getting the CRON White page while no log or any output but in the recurring invoices there are invoices must be created 2 days ago

Any assist would be apprecaited