Attach PDF issue

v5.0.40-C34

When choose “Attach PDF” in Email Settings, emails don’t send out. I can email out invoices / quotes ok without this option enabled.

Im using PhantomJS for pdf creation and it seems to be working everywhere it should. All PDF’s open / previews work.

Hi,

Do you see any related errors in storage/logs/

Doesnt seem to be.

less /storage/logs/laravel.log

I tried to send the invoice email with attachment around 6:50 after all of these entries.

[2020-12-29 04:58:42] production.INFO: db fails
[2020-12-29 05:00:10] production.INFO:
[2020-12-29 05:00:13] production.INFO:
[2020-12-29 05:00:17] production.INFO:
[2020-12-29 05:01:02] production.INFO: latest version = 5.0.40
[2020-12-29 05:01:02] production.INFO: latest version = 5.0.40
[2020-12-29 05:02:27] production.INFO: the path https:///storage/P0zvOcbKraiPFUsj2yVT2dhurQ2uZy4aEa3zGeiK61D36B6rYJjoAGeR6pcwooTQ/V8KCGvGxk3UbPWSlaV9s0dxubwx31OuCjJdLSyeD.png
[2020-12-29 05:07:14] production.INFO: https:///phantom/invoice/uH38ujOaSoO7GZpdAwPE3hxvLPFGRuKQ5VbSwGoWmcYaMuM5hF7ebMHbY2ZjWsEY?phantomjs_secret=secret
[2020-12-29 05:09:06] production.INFO: https:///phantom/invoice/uzOXfYXNJFISJYUa3PYKpWkzkLDC0KmskdGWRh9SbRxO6O6hyIwGU7A8GMlZ03Ty?phantomjs_secret=secret
[2020-12-29 05:11:21] production.INFO: subject = template data
[2020-12-29 05:13:17] production.INFO: subject = template data
[2020-12-29 05:13:35] production.INFO: subject = template data
[2020-12-29 05:14:00] production.INFO: subject = template data
[2020-12-29 05:16:01] production.INFO: subject = template data
[2020-12-29 06:47:44] production.INFO: subject = template data
[2020-12-29 06:48:07] production.INFO: subject = template data

Hey @david, can you help here, please?

most likely a issue attaching from phantomjs i’ll need to add this to my backlog.

Oh thats interesting… If it could be an issue with phantomjs, I understand that you guys are looking into snappdf? Id actually prefer a local pdf option. I only went to phantomjs becuase i couldnt get node working.

I see an install guide here:

And I read on this forum theres some variables available to enter in the .env file?

EXPERIMENTAL_PDF_ENGINE=true
EXPERIMENTAL_PDF_ENGINE_CHROMIUM_PATH=/usr/bin/google-chrome

Ill play around with it and see if i can get it working. Any other hints on getting it to work properly?

Thanks!

I dont think the problem is specific to phantomjs.

I installed snappdf and chromium, set PHANTOMJS_PDF_GENERATION=false
EXPERIMENTAL_PDF_ENGINE=true
in the .env file

and then i could generate PDF’s (Looked ok in pdf previews, it was backwards / upside down when viewing in the client portal)

But the point is, i could send out emails only when the attach pdf wasnt enabled. As soon as it was enabled it didnt send the emails.

Hope thats helpful : )

Glad to hear that you solved the issue with PDFs. Yes, we’d be happy if all users are able to run snappdf, but that’s not the case, unfortunately. Some shared hosting providers, don’t provide all the necessary requirements for headless Chromium to work. That’s why PhantomCloud is there as an option.

By the way, you can remove experimental pdf engine flag from your .env & only leave phantom pdf generation as false, if you’re running the latest version.

I will check what’s wrong with sending e-mails when having PDF attached & let you know here.

Thank you!

Thanks! Ive been testing out V5 a lot and it feels like its getting close :smiley:

2 Likes

@ben
Just FYI that attaching a PDF is still preventing emails going out in latest v5.0.44-C37
Thanks!

@peterjm

This issue will be fixed in the next release, third party attachments can also now be included in emails.

@david
Just FYI this is still an issue for me as of 5.0.52-C39. Im trying it with phantomjs this time again but also tried snappdf 1.2 through 1.5

When i turn on the attach pdf option i get one email that the invoice was sent, but the client never receives an email. As soon as i turn off ‘attach pdf’ option emails go to the client again.

@peterjm

So this one I cannot recreate. I am able to send emails with attachments.

If you could check the system_logs table, this may provide more information. You’ll see the email server errors inside there.

ok,

With ‘attach pdf’ turned off system_logs table data shows 2 entries:
“Entity PDF generated sucessfully => 0004”
“Entity PDF generated sucessfully => 0004”
And 2 emails are sent, one informing me invoice was sent and one to customer

With ‘attach pdf’ turned on system_logs table data shows only 1 entry:
“Entity PDF generated sucessfully => 0006”

until i run
sudo php artisan queue:work

Then the second entry appears, but followed by an error:
"Unable to open file for reading [https:\/\/FQDNofmyserver\/storage\/0V1qDzTeunL8DhX0wHX9Z3fiiMEp6hRD9fxIYoWorSgNzeo9D3LXu9j8jS9ilmmd\/eU8PJjakrDqycTSxtpeH6dYmadXMSMmwqDnAeEXP\/invoices\/0007.pdf]"

1 email is sent to me saying unable to send invoice

Oh and in the jobs table i dont understand this but it has this as a value for a failed send mailer?:

{"uuid":"1c9bcf13-8815-406a-b177-dba2ddb57d46","displayName":"App\\Jobs\\Mail\\EntityFailedSendMailer","job":"Illuminate\\Queue\\CallQueuedHandler@call","maxTries":5,"maxExceptions":null,"backoff":"5","timeout":null,"retryUntil":null,"data":{"commandName":"App\\Jobs\\Mail\\EntityFailedSendMailer","command":"O:36:\"App\\Jobs\\Mail\\EntityFailedSendMailer\":21:{s:7:\"company\";O:45:\"Illuminate\\Contracts\\Database\\ModelIdentifier\":4:{s:5:\"class\";s:18:\"App\\Models\\Company\";s:2:\"id\";i:1;s:9:\"relations\";a:3:{i:0;s:13:\"company_users\";i:1;s:18:\"company_users.user\";i:2;s:21:\"company_users.company\";}s:10:\"connection\";s:11:\"db-ninja-01\";}s:4:\"user\";O:45:\"Illuminate\\Contracts\\Database\\ModelIdentifier\":4:{s:5:\"class\";s:15:\"App\\Models\\User\";s:2:\"id\";i:1;s:9:\"relations\";a:0:{}s:10:\"connection\";s:11:\"db-ninja-01\";}s:10:\"invitation\";O:45:\"Illuminate\\Contracts\\Database\\ModelIdentifier\":4:{s:5:\"class\";s:28:\"App\\Models\\InvoiceInvitation\";s:2:\"id\";i:2;s:9:\"relations\";a:23:{i:0;s:7:\"company\";i:1;s:21:\"company.company_users\";i:2;s:26:\"company.company_users.user\";i:3;s:29:\"company.company_users.company\";i:4;s:7:\"contact\";i:5;s:14:\"contact.client\";i:6;s:29:\"contact.client.gateway_tokens\";i:7;s:24:\"contact.client.documents\";i:8;s:29:\"contact.client.group_settings\";i:9;s:22:\"contact.client.company\";i:10;s:19:\"contact.client.user\";i:11;s:27:\"contact.client.user.account\";i:12;s:7:\"invoice\";i:13;s:14:\"invoice.client\";i:14;s:29:\"invoice.client.gateway_tokens\";i:15;s:24:\"invoice.client.documents\";i:16;s:29:\"invoice.client.group_settings\";i:17;s:22:\"invoice.client.company\";i:18;s:22:\"invoice.client.country\";i:19;s:19:\"invoice.invitations\";i:20;s:27:\"invoice.invitations.company\";i:21;s:27:\"invoice.invitations.contact\";i:22;s:15:\"invoice.company\";}s:10:\"connection\";s:11:\"db-ninja-01\";}s:11:\"entity_type\";s:7:\"invoice\";s:6:\"entity\";O:45:\"Illuminate\\Contracts\\Database\\ModelIdentifier\":4:{s:5:\"class\";s:18:\"App\\Models\\Invoice\";s:2:\"id\";i:2;s:9:\"relations\";a:10:{i:0;s:6:\"client\";i:1;s:21:\"client.gateway_tokens\";i:2;s:16:\"client.documents\";i:3;s:21:\"client.group_settings\";i:4;s:14:\"client.company\";i:5;s:14:\"client.country\";i:6;s:11:\"invitations\";i:7;s:19:\"invitations.company\";i:8;s:19:\"invitations.contact\";i:9;s:7:\"company\";}s:10:\"connection\";s:11:\"db-ninja-01\";}s:8:\"settings\";O:8:\"stdClass\":186:{s:6:\"entity\";s:17:\"App\\Models\\Client\";s:11:\"currency_id\";s:1:\"1\";s:20:\"auto_archive_invoice\";b:0;s:13:\"lock_invoices\";s:3:\"off\";s:26:\"enable_client_portal_tasks\";b:0;s:29:\"enable_client_portal_password\";b:0;s:20:\"enable_client_portal\";b:1;s:30:\"enable_client_portal_dashboard\";b:0;s:16:\"signature_on_pdf\";b:0;s:25:\"document_email_attachment\";b:0;s:16:\"portal_design_id\";s:1:\"1\";s:11:\"timezone_id\";s:1:\"1\";s:14:\"date_format_id\";s:1:\"1\";s:13:\"military_time\";b:0;s:11:\"language_id\";s:1:\"1\";s:18:\"show_currency_code\";b:0;s:19:\"company_gateway_ids\";s:0:\"\";s:13:\"custom_value1\";s:0:\"\";s:13:\"custom_value2\";s:0:\"\";s:13:\"custom_value3\";s:0:\"\";s:13:\"custom_value4\";s:0:\"\";s:17:\"default_task_rate\";i:0;s:13:\"payment_terms\";s:0:\"\";s:14:\"send_reminders\";b:1;s:24:\"custom_message_dashboard\";s:0:\"\";s:29:\"custom_message_unpaid_invoice\";s:0:\"\";s:27:\"custom_message_paid_invoice\";s:0:\"\";s:31:\"custom_message_unapproved_quote\";s:0:\"\";s:18:\"auto_archive_quote\";b:0;s:18:\"auto_convert_quote\";b:1;s:18:\"auto_email_invoice\";b:1;s:15:\"inclusive_taxes\";b:0;s:12:\"quote_footer\";s:0:\"\";s:12:\"translations\";a:0:{}s:22:\"counter_number_applied\";s:10:\"when_saved\";s:20:\"quote_number_applied\";s:10:\"when_saved\";s:22:\"invoice_number_pattern\";s:0:\"\";s:22:\"invoice_number_counter\";i:3;s:32:\"recurring_invoice_number_pattern\";s:0:\"\";s:32:\"recurring_invoice_number_counter\";i:1;s:20:\"quote_number_pattern\";s:0:\"\";s:20:\"quote_number_counter\";i:1;s:21:\"client_number_pattern\";s:0:\"\";s:21:\"client_number_counter\";i:2;s:21:\"credit_number_pattern\";s:0:\"\";s:21:\"credit_number_counter\";i:1;s:19:\"task_number_pattern\";s:0:\"\";s:19:\"task_number_counter\";i:1;s:22:\"expense_number_pattern\";s:0:\"\";s:22:\"expense_number_counter\";i:1;s:21:\"vendor_number_pattern\";s:0:\"\";s:21:\"vendor_number_counter\";i:1;s:21:\"ticket_number_pattern\";s:0:\"\";s:21:\"ticket_number_counter\";i:1;s:22:\"payment_number_pattern\";s:0:\"\";s:22:\"payment_number_counter\";i:1;s:22:\"project_number_pattern\";s:0:\"\";s:22:\"project_number_counter\";i:1;s:28:\"shared_invoice_quote_counter\";b:0;s:23:\"recurring_number_prefix\";s:1:\"R\";s:26:\"reset_counter_frequency_id\";s:1:\"0\";s:18:\"reset_counter_date\";s:0:\"\";s:15:\"counter_padding\";i:4;s:9:\"auto_bill\";s:3:\"off\";s:14:\"auto_bill_date\";s:11:\"on_due_date\";s:13:\"invoice_terms\";s:0:\"\";s:11:\"quote_terms\";s:0:\"\";s:13:\"invoice_taxes\";i:0;s:17:\"invoice_design_id\";s:10:\"VolejRejNm\";s:15:\"quote_design_id\";s:10:\"VolejRejNm\";s:16:\"credit_design_id\";s:10:\"VolejRejNm\";s:14:\"invoice_footer\";s:0:\"\";s:13:\"credit_footer\";s:0:\"\";s:12:\"credit_terms\";s:0:\"\";s:14:\"invoice_labels\";s:0:\"\";s:9:\"tax_name1\";s:0:\"\";s:9:\"tax_rate1\";i:0;s:9:\"tax_name2\";s:0:\"\";s:9:\"tax_rate2\";i:0;s:9:\"tax_name3\";s:0:\"\";s:9:\"tax_rate3\";i:0;s:15:\"payment_type_id\";s:1:\"0\";s:14:\"invoice_fields\";s:0:\"\";s:25:\"show_accept_invoice_terms\";b:0;s:23:\"show_accept_quote_terms\";b:0;s:25:\"require_invoice_signature\";b:0;s:23:\"require_quote_signature\";b:0;s:20:\"email_sending_method\";s:7:\"default\";s:21:\"gmail_sending_user_id\";s:1:\"0\";s:14:\"reply_to_email\";s:0:\"\";s:9:\"bcc_email\";s:0:\"\";s:20:\"pdf_email_attachment\";b:1;s:20:\"ubl_email_attachment\";b:0;s:11:\"email_style\";s:5:\"light\";s:18:\"email_style_custom\";s:0:\"\";s:21:\"email_subject_invoice\";s:0:\"\";s:19:\"email_subject_quote\";s:0:\"\";s:20:\"email_subject_credit\";s:0:\"\";s:21:\"email_subject_payment\";s:0:\"\";s:29:\"email_subject_payment_partial\";s:0:\"\";s:23:\"email_subject_statement\";s:0:\"\";s:22:\"email_template_invoice\";s:0:\"\";s:21:\"email_template_credit\";s:0:\"\";s:20:\"email_template_quote\";s:0:\"\";s:22:\"email_template_payment\";s:0:\"\";s:30:\"email_template_payment_partial\";s:0:\"\";s:24:\"email_template_statement\";s:0:\"\";s:23:\"email_subject_reminder1\";s:0:\"\";s:23:\"email_subject_reminder2\";s:0:\"\";s:23:\"email_subject_reminder3\";s:0:\"\";s:30:\"email_subject_reminder_endless\";s:0:\"\";s:24:\"email_template_reminder1\";s:0:\"\";s:24:\"email_template_reminder2\";s:0:\"\";s:24:\"email_template_reminder3\";s:0:\"\";s:31:\"email_template_reminder_endless\";s:0:\"\";s:15:\"email_signature\";s:0:\"\";s:19:\"enable_email_markup\";b:1;s:21:\"email_subject_custom1\";s:0:\"\";s:21:\"email_subject_custom2\";s:0:\"\";s:21:\"email_subject_custom3\";s:0:\"\";s:22:\"email_template_custom1\";s:0:\"\";s:22:\"email_template_custom2\";s:0:\"\";s:22:\"email_template_custom3\";s:0:\"\";s:16:\"enable_reminder1\";b:0;s:16:\"enable_reminder2\";b:0;s:16:\"enable_reminder3\";b:0;s:23:\"enable_reminder_endless\";b:0;s:18:\"num_days_reminder1\";i:0;s:18:\"num_days_reminder2\";i:0;s:18:\"num_days_reminder3\";i:0;s:18:\"schedule_reminder1\";s:0:\"\";s:18:\"schedule_reminder2\";s:0:\"\";s:18:\"schedule_reminder3\";s:0:\"\";s:18:\"reminder_send_time\";i:32400;s:16:\"late_fee_amount1\";i:0;s:16:\"late_fee_amount2\";i:0;s:16:\"late_fee_amount3\";i:0;s:17:\"late_fee_percent1\";i:0;s:17:\"late_fee_percent2\";i:0;s:17:\"late_fee_percent3\";i:0;s:29:\"endless_reminder_frequency_id\";s:1:\"0\";s:23:\"late_fee_endless_amount\";i:0;s:24:\"late_fee_endless_percent\";i:0;s:34:\"client_online_payment_notification\";b:1;s:34:\"client_manual_payment_notification\";b:1;s:4:\"name\";s:7:\"CompanyName\";s:12:\"company_logo\";s:0:\"\";s:7:\"website\";s:0:\"\";s:8:\"address1\";s:0:\"\";s:8:\"address2\";s:0:\"\";s:4:\"city\";s:0:\"\";s:5:\"state\";s:0:\"\";s:11:\"postal_code\";s:0:\"\";s:5:\"phone\";s:0:\"\";s:5:\"email\";s:0:\"\";s:10:\"country_id\";s:3:\"840\";s:10:\"vat_number\";s:0:\"\";s:9:\"id_number\";s:0:\"\";s:9:\"page_size\";s:2:\"A4\";s:9:\"font_size\";i:9;s:12:\"primary_font\";s:6:\"Roboto\";s:14:\"secondary_font\";s:6:\"Roboto\";s:13:\"primary_color\";s:7:\"#4caf50\";s:15:\"secondary_color\";s:7:\"#2196f3\";s:17:\"hide_paid_to_date\";b:0;s:15:\"embed_documents\";b:0;s:16:\"all_pages_header\";b:0;s:16:\"all_pages_footer\";b:0;s:13:\"pdf_variables\";O:8:\"stdClass\":9:{s:14:\"client_details\";a:8:{i:0;s:12:\"$client.name\";i:1;s:17:\"$client.id_number\";i:2;s:18:\"$client.vat_number\";i:3;s:16:\"$client.address1\";i:4;s:16:\"$client.address2\";i:5;s:25:\"$client.city_state_postal\";i:6;s:15:\"$client.country\";i:7;s:14:\"$contact.email\";}s:15:\"company_details\";a:6:{i:0;s:13:\"$company.name\";i:1;s:18:\"$company.id_number\";i:2;s:19:\"$company.vat_number\";i:3;s:16:\"$company.website\";i:4;s:14:\"$company.email\";i:5;s:14:\"$company.phone\";}s:15:\"company_address\";a:4:{i:0;s:17:\"$company.address1\";i:1;s:17:\"$company.address2\";i:2;s:26:\"$company.city_state_postal\";i:3;s:16:\"$company.country\";}s:15:\"invoice_details\";a:6:{i:0;s:15:\"$invoice.number\";i:1;s:18:\"$invoice.po_number\";i:2;s:13:\"$invoice.date\";i:3;s:17:\"$invoice.due_date\";i:4;s:20:\"$invoice.balance_due\";i:5;s:14:\"$invoice.total\";}s:13:\"quote_details\";a:5:{i:0;s:13:\"$quote.number\";i:1;s:16:\"$quote.po_number\";i:2;s:11:\"$quote.date\";i:3;s:18:\"$quote.valid_until\";i:4;s:12:\"$quote.total\";}s:14:\"credit_details\";a:5:{i:0;s:14:\"$credit.number\";i:1;s:17:\"$credit.po_number\";i:2;s:12:\"$credit.date\";i:3;s:15:\"$credit.balance\";i:4;s:13:\"$credit.total\";}s:15:\"product_columns\";a:7:{i:0;s:13:\"$product.item\";i:1;s:20:\"$product.description\";i:2;s:18:\"$product.unit_cost\";i:3;s:17:\"$product.quantity\";i:4;s:17:\"$product.discount\";i:5;s:12:\"$product.tax\";i:6;s:19:\"$product.line_total\";}s:12:\"task_columns\";a:7:{i:0;s:13:\"$task.service\";i:1;s:17:\"$task.description\";i:2;s:10:\"$task.rate\";i:3;s:11:\"$task.hours\";i:4;s:14:\"$task.discount\";i:5;s:9:\"$task.tax\";i:6;s:16:\"$task.line_total\";}s:13:\"total_columns\";a:11:{i:0;s:9:\"$subtotal\";i:1;s:9:\"$discount\";i:2;s:12:\"$total_taxes\";i:3;s:11:\"$line_taxes\";i:4;s:18:\"$custom_surcharge1\";i:5;s:18:\"$custom_surcharge2\";i:6;s:18:\"$custom_surcharge3\";i:7;s:18:\"$custom_surcharge4\";i:8;s:6:\"$total\";i:9;s:13:\"$paid_to_date\";i:10;s:12:\"$outstanding\";}}s:18:\"portal_custom_head\";s:0:\"\";s:17:\"portal_custom_css\";s:0:\"\";s:20:\"portal_custom_footer\";s:0:\"\";s:16:\"portal_custom_js\";s:0:\"\";s:19:\"client_can_register\";b:0;s:19:\"client_portal_terms\";s:0:\"\";s:28:\"client_portal_privacy_policy\";s:0:\"\";s:28:\"client_portal_enable_uploads\";b:0;s:33:\"client_portal_allow_under_payment\";b:0;s:35:\"client_portal_under_payment_minimum\";i:0;s:32:\"client_portal_allow_over_payment\";b:0;s:19:\"use_credits_payment\";s:3:\"off\";s:25:\"hide_empty_columns_on_pdf\";b:0;s:5:\"casts\";a:180:{s:25:\"hide_empty_columns_on_pdf\";s:4:\"bool\";s:23:\"enable_reminder_endless\";s:4:\"bool\";s:19:\"use_credits_payment\";s:6:\"string\";s:32:\"recurring_invoice_number_pattern\";s:6:\"string\";s:32:\"recurring_invoice_number_counter\";s:3:\"int\";s:35:\"client_portal_under_payment_minimum\";s:5:\"float\";s:14:\"auto_bill_date\";s:6:\"string\";s:13:\"primary_color\";s:6:\"string\";s:15:\"secondary_color\";s:6:\"string\";s:33:\"client_portal_allow_under_payment\";s:4:\"bool\";s:32:\"client_portal_allow_over_payment\";s:4:\"bool\";s:9:\"auto_bill\";s:6:\"string\";s:13:\"lock_invoices\";s:6:\"string\";s:19:\"client_portal_terms\";s:6:\"string\";s:28:\"client_portal_privacy_policy\";s:6:\"string\";s:19:\"client_can_register\";s:4:\"bool\";s:16:\"portal_design_id\";s:6:\"string\";s:24:\"late_fee_endless_percent\";s:5:\"float\";s:23:\"late_fee_endless_amount\";s:5:\"float\";s:18:\"auto_email_invoice\";s:4:\"bool\";s:18:\"reminder_send_time\";s:3:\"int\";s:20:\"email_sending_method\";s:6:\"string\";s:21:\"gmail_sending_user_id\";s:6:\"string\";s:11:\"currency_id\";s:6:\"string\";s:22:\"counter_number_applied\";s:6:\"string\";s:20:\"quote_number_applied\";s:6:\"string\";s:21:\"email_subject_custom1\";s:6:\"string\";s:21:\"email_subject_custom2\";s:6:\"string\";s:21:\"email_subject_custom3\";s:6:\"string\";s:22:\"email_template_custom1\";s:6:\"string\";s:22:\"email_template_custom2\";s:6:\"string\";s:22:\"email_template_custom3\";s:6:\"string\";s:16:\"enable_reminder1\";s:4:\"bool\";s:16:\"enable_reminder2\";s:4:\"bool\";s:16:\"enable_reminder3\";s:4:\"bool\";s:18:\"num_days_reminder1\";s:3:\"int\";s:18:\"num_days_reminder2\";s:3:\"int\";s:18:\"num_days_reminder3\";s:3:\"int\";s:18:\"schedule_reminder1\";s:6:\"string\";s:18:\"schedule_reminder2\";s:6:\"string\";s:18:\"schedule_reminder3\";s:6:\"string\";s:16:\"late_fee_amount1\";s:5:\"float\";s:16:\"late_fee_amount2\";s:5:\"float\";s:16:\"late_fee_amount3\";s:5:\"float\";s:17:\"late_fee_percent1\";s:5:\"float\";s:17:\"late_fee_percent2\";s:5:\"float\";s:17:\"late_fee_percent3\";s:5:\"float\";s:29:\"endless_reminder_frequency_id\";s:7:\"integer\";s:34:\"client_online_payment_notification\";s:4:\"bool\";s:34:\"client_manual_payment_notification\";s:4:\"bool\";s:25:\"document_email_attachment\";s:4:\"bool\";s:29:\"enable_client_portal_password\";s:4:\"bool\";s:19:\"enable_email_markup\";s:4:\"bool\";s:30:\"enable_client_portal_dashboard\";s:4:\"bool\";s:20:\"enable_client_portal\";s:4:\"bool\";s:24:\"email_template_statement\";s:6:\"string\";s:23:\"email_subject_statement\";s:6:\"string\";s:16:\"signature_on_pdf\";s:4:\"bool\";s:12:\"quote_footer\";s:6:\"string\";s:9:\"page_size\";s:6:\"string\";s:9:\"font_size\";s:3:\"int\";s:12:\"primary_font\";s:6:\"string\";s:14:\"secondary_font\";s:6:\"string\";s:17:\"hide_paid_to_date\";s:4:\"bool\";s:15:\"embed_documents\";s:4:\"bool\";s:16:\"all_pages_header\";s:4:\"bool\";s:16:\"all_pages_footer\";s:4:\"bool\";s:22:\"project_number_pattern\";s:6:\"string\";s:22:\"project_number_counter\";s:3:\"int\";s:19:\"task_number_pattern\";s:6:\"string\";s:19:\"task_number_counter\";s:3:\"int\";s:22:\"expense_number_pattern\";s:6:\"string\";s:22:\"expense_number_counter\";s:3:\"int\";s:21:\"vendor_number_pattern\";s:6:\"string\";s:21:\"vendor_number_counter\";s:3:\"int\";s:21:\"ticket_number_pattern\";s:6:\"string\";s:21:\"ticket_number_counter\";s:3:\"int\";s:22:\"payment_number_pattern\";s:6:\"string\";s:22:\"payment_number_counter\";s:3:\"int\";s:14:\"reply_to_email\";s:6:\"string\";s:9:\"bcc_email\";s:6:\"string\";s:20:\"pdf_email_attachment\";s:4:\"bool\";s:20:\"ubl_email_attachment\";s:4:\"bool\";s:11:\"email_style\";s:6:\"string\";s:18:\"email_style_custom\";s:6:\"string\";s:19:\"company_gateway_ids\";s:6:\"string\";s:8:\"address1\";s:6:\"string\";s:8:\"address2\";s:6:\"string\";s:4:\"city\";s:6:\"string\";s:12:\"company_logo\";s:6:\"string\";s:10:\"country_id\";s:6:\"string\";s:21:\"client_number_pattern\";s:6:\"string\";s:21:\"client_number_counter\";s:7:\"integer\";s:21:\"credit_number_pattern\";s:6:\"string\";s:21:\"credit_number_counter\";s:7:\"integer\";s:13:\"custom_value1\";s:6:\"string\";s:13:\"custom_value2\";s:6:\"string\";s:13:\"custom_value3\";s:6:\"string\";s:13:\"custom_value4\";s:6:\"string\";s:24:\"custom_message_dashboard\";s:6:\"string\";s:29:\"custom_message_unpaid_invoice\";s:6:\"string\";s:27:\"custom_message_paid_invoice\";s:6:\"string\";s:31:\"custom_message_unapproved_quote\";s:6:\"string\";s:17:\"default_task_rate\";s:5:\"float\";s:15:\"email_signature\";s:6:\"string\";s:21:\"email_subject_invoice\";s:6:\"string\";s:19:\"email_subject_quote\";s:6:\"string\";s:20:\"email_subject_credit\";s:6:\"string\";s:21:\"email_subject_payment\";s:6:\"string\";s:29:\"email_subject_payment_partial\";s:6:\"string\";s:22:\"email_template_invoice\";s:6:\"string\";s:20:\"email_template_quote\";s:6:\"string\";s:21:\"email_template_credit\";s:6:\"string\";s:22:\"email_template_payment\";s:6:\"string\";s:30:\"email_template_payment_partial\";s:6:\"string\";s:23:\"email_subject_reminder1\";s:6:\"string\";s:23:\"email_subject_reminder2\";s:6:\"string\";s:23:\"email_subject_reminder3\";s:6:\"string\";s:30:\"email_subject_reminder_endless\";s:6:\"string\";s:24:\"email_template_reminder1\";s:6:\"string\";s:24:\"email_template_reminder2\";s:6:\"string\";s:24:\"email_template_reminder3\";s:6:\"string\";s:31:\"email_template_reminder_endless\";s:6:\"string\";s:15:\"inclusive_taxes\";s:4:\"bool\";s:22:\"invoice_number_pattern\";s:6:\"string\";s:22:\"invoice_number_counter\";s:7:\"integer\";s:17:\"invoice_design_id\";s:6:\"string\";s:14:\"invoice_fields\";s:6:\"string\";s:13:\"invoice_taxes\";s:3:\"int\";s:14:\"invoice_footer\";s:6:\"string\";s:14:\"invoice_labels\";s:6:\"string\";s:13:\"invoice_terms\";s:6:\"string\";s:13:\"credit_footer\";s:6:\"string\";s:12:\"credit_terms\";s:6:\"string\";s:4:\"name\";s:6:\"string\";s:13:\"payment_terms\";s:6:\"string\";s:15:\"payment_type_id\";s:6:\"string\";s:5:\"phone\";s:6:\"string\";s:11:\"postal_code\";s:6:\"string\";s:15:\"quote_design_id\";s:6:\"string\";s:16:\"credit_design_id\";s:6:\"string\";s:20:\"quote_number_pattern\";s:6:\"string\";s:20:\"quote_number_counter\";s:7:\"integer\";s:11:\"quote_terms\";s:6:\"string\";s:23:\"recurring_number_prefix\";s:6:\"string\";s:26:\"reset_counter_frequency_id\";s:7:\"integer\";s:18:\"reset_counter_date\";s:6:\"string\";s:25:\"require_invoice_signature\";s:4:\"bool\";s:23:\"require_quote_signature\";s:4:\"bool\";s:5:\"state\";s:6:\"string\";s:5:\"email\";s:6:\"string\";s:10:\"vat_number\";s:6:\"string\";s:9:\"id_number\";s:6:\"string\";s:9:\"tax_name1\";s:6:\"string\";s:9:\"tax_name2\";s:6:\"string\";s:9:\"tax_name3\";s:6:\"string\";s:9:\"tax_rate1\";s:5:\"float\";s:9:\"tax_rate2\";s:5:\"float\";s:9:\"tax_rate3\";s:5:\"float\";s:23:\"show_accept_quote_terms\";s:4:\"bool\";s:25:\"show_accept_invoice_terms\";s:4:\"bool\";s:11:\"timezone_id\";s:6:\"string\";s:14:\"date_format_id\";s:6:\"string\";s:13:\"military_time\";s:4:\"bool\";s:11:\"language_id\";s:6:\"string\";s:18:\"show_currency_code\";s:4:\"bool\";s:14:\"send_reminders\";s:4:\"bool\";s:26:\"enable_client_portal_tasks\";s:4:\"bool\";s:20:\"auto_archive_invoice\";s:4:\"bool\";s:18:\"auto_archive_quote\";s:4:\"bool\";s:18:\"auto_convert_quote\";s:4:\"bool\";s:28:\"shared_invoice_quote_counter\";s:4:\"bool\";s:15:\"counter_padding\";s:7:\"integer\";s:7:\"website\";s:6:\"string\";s:13:\"pdf_variables\";s:6:\"object\";s:18:\"portal_custom_head\";s:6:\"string\";s:17:\"portal_custom_css\";s:6:\"string\";s:20:\"portal_custom_footer\";s:6:\"string\";s:16:\"portal_custom_js\";s:6:\"string\";s:28:\"client_portal_enable_uploads\";s:4:\"bool\";}s:15:\"free_plan_casts\";a:33:{s:11:\"currency_id\";s:6:\"string\";s:19:\"company_gateway_ids\";s:6:\"string\";s:8:\"address1\";s:6:\"string\";s:8:\"address2\";s:6:\"string\";s:4:\"city\";s:6:\"string\";s:12:\"company_logo\";s:6:\"string\";s:10:\"country_id\";s:6:\"string\";s:13:\"custom_value1\";s:6:\"string\";s:13:\"custom_value2\";s:6:\"string\";s:13:\"custom_value3\";s:6:\"string\";s:13:\"custom_value4\";s:6:\"string\";s:15:\"inclusive_taxes\";s:4:\"bool\";s:4:\"name\";s:6:\"string\";s:13:\"payment_terms\";s:6:\"string\";s:15:\"payment_type_id\";s:6:\"string\";s:5:\"phone\";s:6:\"string\";s:11:\"postal_code\";s:6:\"string\";s:5:\"state\";s:6:\"string\";s:5:\"email\";s:6:\"string\";s:10:\"vat_number\";s:6:\"string\";s:9:\"id_number\";s:6:\"string\";s:9:\"tax_name1\";s:6:\"string\";s:9:\"tax_name2\";s:6:\"string\";s:9:\"tax_name3\";s:6:\"string\";s:9:\"tax_rate1\";s:5:\"float\";s:9:\"tax_rate2\";s:5:\"float\";s:9:\"tax_rate3\";s:5:\"float\";s:11:\"timezone_id\";s:6:\"string\";s:14:\"date_format_id\";s:6:\"string\";s:13:\"military_time\";s:4:\"bool\";s:11:\"language_id\";s:6:\"string\";s:18:\"show_currency_code\";s:4:\"bool\";s:7:\"website\";s:6:\"string\";}s:16:\"protected_fields\";a:0:{}s:12:\"string_casts\";a:3:{i:0;s:17:\"invoice_design_id\";i:1;s:15:\"quote_design_id\";i:2;s:16:\"credit_design_id\";}}s:8:\"template\";s:7:\"invoice\";s:7:\"message\";s:197:\"Unable to open file for reading [https:\/\/invoiceninja.domain.com\/storage\/0V1qDzTeunL8DhX0wHX9Z3fiiMEp6hRD9fxIYoWorSgNzeo9D3LXu9j8jS9ilmmd\/eU8PJjakrDqycTSxtpeH6dYmadXMSMmwqDnAeEXP\/invoices\/0002.pdf]\";s:5:\"tries\";i:5;s:7:\"backoff\";i:5;s:23:\"deleteWhenMissingModels\";b:1;s:3:\"job\";N;s:10:\"connection\";N;s:5:\"queue\";N;s:15:\"chainConnection\";N;s:10:\"chainQueue\";N;s:19:\"chainCatchCallbacks\";N;s:5:\"delay\";N;s:11:\"afterCommit\";N;s:10:\"middleware\";a:0:{}s:7:\"chained\";a:0:{}}"}}