Can't edit invoices or templates and reminders (ErrorException in GatewayType)

Hi there,

I just updated to InvoiceNinja self-hosted to v3.9.2. I am unable to edit invoices or view Templates & Reminders. Here is the full error I get.

ErrorException in GatewayType.php line 29:
Trying to get property of non-object (View: /home/sangie/tsaiwolf/payments/resources/views/partials/email_templates.blade.php) (View: /home/sangie/tsaiwolf/payments/resources/views/partials/email_templates.blade.php)
in GatewayType.php line 29
at CompilerEngine->handleViewException(object(ErrorException), '0') in compiled.php line 15401
at PhpEngine->evaluatePath('/home/sangie/tsaiwolf/payments/storage/framework/views/2b933b970c1ff61a9b04fe0e32786b5bdbcef0cb.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'clients' => object(Collection), 'entityType' => 'invoice', 'showBreadcrumbs' => false, 'invoice' => object(Invoice), 'method' => 'PUT', 'invitationContactIds' => array('186'), 'url' => 'invoices/151', 'title' => 'Edit Invoice', 'client' => object(Client), 'isRecurring' => false, 'lastSent' => null, 'data' => null, 'account' => object(Account), 'products' => object(Collection), 'taxRateOptions' => array('0 7.500 California Tax' => 'California Tax 7.5%'), 'sizes' => object(Collection), 'invoiceDesigns' => object(Collection), 'invoiceFonts' => object(Collection), 'frequencies' => array('Weekly', 'Two weeks', 'Four weeks', 'Monthly', 'Two months', 'Three months', 'Six months', 'Annually'), 'recurringDueDates' => array('Use client terms' => array('value' => '', 'class' => 'monthly weekly'), '1st day of month' => array('value' => '1998-01-01', 'data-num' => '1', 'class' => 'monthly'), '2nd day of month' => array('value' => '1998-01-02', 'data-num' => '2', 'class' => 'monthly'), '3rd day of month' => array('value' => '1998-01-03', 'data-num' => '3', 'class' => 'monthly'), '4th day of month' => array('value' => '1998-01-04', 'data-num' => '4', 'class' => 'monthly'), '5th day of month' => array('value' => '1998-01-05', 'data-num' => '5', 'class' => 'monthly'), '6th day of month' => array('value' => '1998-01-06', 'data-num' => '6', 'class' => 'monthly'), '7th day of month' => array('value' => '1998-01-07', 'data-num' => '7', 'class' => 'monthly'), '8th day of month' => array('value' => '1998-01-08', 'data-num' => '8', 'class' => 'monthly'), '9th day of month' => array('value' => '1998-01-09', 'data-num' => '9', 'class' => 'monthly'), '10th day of month' => array('value' => '1998-01-10', 'data-num' => '10', 'class' => 'monthly'), '11th day of month' => array('value' => '1998-01-11', 'data-num' => '11', 'class' => 'monthly'), '12th day of month' => array('value' => '1998-01-12', 'data-num' => '12', 'class' => 'monthly'), '13th day of month' => array('value' => '1998-01-13', 'data-num' => '13', 'class' => 'monthly'), '14th day of month' => array('value' => '1998-01-14', 'data-num' => '14', 'class' => 'monthly'), '15th day of month' => array('value' => '1998-01-15', 'data-num' => '15', 'class' => 'monthly'), '16th day of month' => array('value' => '1998-01-16', 'data-num' => '16', 'class' => 'monthly'), '17th day of month' => array('value' => '1998-01-17', 'data-num' => '17', 'class' => 'monthly'), '18th day of month' => array('value' => '1998-01-18', 'data-num' => '18', 'class' => 'monthly'), '19th day of month' => array('value' => '1998-01-19', 'data-num' => '19', 'class' => 'monthly'), '20th day of month' => array('value' => '1998-01-20', 'data-num' => '20', 'class' => 'monthly'), '21st day of month' => array('value' => '1998-01-21', 'data-num' => '21', 'class' => 'monthly'), '22nd day of month' => array('value' => '1998-01-22', 'data-num' => '22', 'class' => 'monthly'), '23rd day of month' => array('value' => '1998-01-23', 'data-num' => '23', 'class' => 'monthly'), '24th day of month' => array('value' => '1998-01-24', 'data-num' => '24', 'class' => 'monthly'), '25th day of month' => array('value' => '1998-01-25', 'data-num' => '25', 'class' => 'monthly'), '26th day of month' => array('value' => '1998-01-26', 'data-num' => '26', 'class' => 'monthly'), '27th day of month' => array('value' => '1998-01-27', 'data-num' => '27', 'class' => 'monthly'), '28th day of month' => array('value' => '1998-01-28', 'data-num' => '28', 'class' => 'monthly'), '29th day of month' => array('value' => '1998-01-29', 'data-num' => '29', 'class' => 'monthly'), '30th day of month' => array('value' => '1998-01-30', 'data-num' => '30', 'class' => 'monthly'), 'Last day of month' => array('value' => '1998-01-31', 'data-num' => '31', 'class' => 'monthly'), '1st Sunday after' => array('value' => '1998-02-01', 'data-num' => '1', 'class' => 'weekly'), '1st Monday after' => array('value' => '1998-02-02', 'data-num' => '2', 'class' => 'weekly'), '1st Tuesday after' => array('value' => '1998-02-03', 'data-num' => '3', 'class' => 'weekly'), '1st Wednesday after' => array('value' => '1998-02-04', 'data-num' => '4', 'class' => 'weekly'), '1st Thursday after' => array('value' => '1998-02-05', 'data-num' => '5', 'class' => 'weekly'), '1st Friday after' => array('value' => '1998-02-06', 'data-num' => '6', 'class' => 'weekly'), '1st Saturday after' => array('value' => '1998-02-07', 'data-num' => '7', 'class' => 'weekly'), '2nd Sunday after' => array('value' => '1998-02-08', 'data-num' => '8', 'class' => 'weekly'), '2nd Monday after' => array('value' => '1998-02-09', 'data-num' => '9', 'class' => 'weekly'), '2nd Tuesday after' => array('value' => '1998-02-10', 'data-num' => '10', 'class' => 'weekly'), '2nd Wednesday after' => array('value' => '1998-02-11', 'data-num' => '11', 'class' => 'weekly'), '2nd Thursday after' => array('value' => '1998-02-12', 'data-num' => '12', 'class' => 'weekly'), '2nd Friday after' => array('value' => '1998-02-13', 'data-num' => '13', 'class' => 'weekly'), '2nd Saturday after' => array('value' => '1998-02-14', 'data-num' => '14', 'class' => 'weekly'), '3rd Sunday after' => array('value' => '1998-02-15', 'data-num' => '15', 'class' => 'weekly'), '3rd Monday after' => array('value' => '1998-02-16', 'data-num' => '16', 'class' => 'weekly'), '3rd Tuesday after' => array('value' => '1998-02-17', 'data-num' => '17', 'class' => 'weekly'), '3rd Wednesday after' => array('value' => '1998-02-18', 'data-num' => '18', 'class' => 'weekly'), '3rd Thursday after' => array('value' => '1998-02-19', 'data-num' => '19', 'class' => 'weekly'), '3rd Friday after' => array('value' => '1998-02-20', 'data-num' => '20', 'class' => 'weekly'), '3rd Saturday after' => array('value' => '1998-02-21', 'data-num' => '21', 'class' => 'weekly'), '4th Sunday after' => array('value' => '1998-02-22', 'data-num' => '22', 'class' => 'weekly'), '4th Monday after' => array('value' => '1998-02-23', 'data-num' => '23', 'class' => 'weekly'), '4th Tuesday after' => array('value' => '1998-02-24', 'data-num' => '24', 'class' => 'weekly'), '4th Wednesday after' => array('value' => '1998-02-25', 'data-num' => '25', 'class' => 'weekly'), '4th Thursday after' => array('value' => '1998-02-26', 'data-num' => '26', 'class' => 'weekly'), '4th Friday after' => array('value' => '1998-02-27', 'data-num' => '27', 'class' => 'weekly'), '4th Saturday after' => array('value' => '1998-02-28', 'data-num' => '28', 'class' => 'weekly')), 'recurringHelp' => '<p>Automatically send clients the same invoices weekly, bi-monthly, monthly, quarterly or annually. </p> <p>Use :MONTH, :QUARTER or :YEAR for dynamic dates. Basic math works as well, for example :MONTH-1.</p> <p>Examples of dynamic invoice variables:</p> <ul><li> "Gym membership for the month of :MONTH" => "Gym membership for the month of November" </li><li> ":YEAR+1 yearly subscription" => "2018 yearly subscription" </li><li> "Retainer payment for :QUARTER+1" => "Retainer payment for Q1" </li> </ul>', 'recurringDueDateHelp' => '<p>Automatically sets a due date for the invoice.</p> <p>Invoices on a monthly or yearly cycle set to be due on or before the day they are created will be due the next month. Invoices set to be due on the 29th or 30th in months that don't have that day will be due the last day of the month.</p> <p>Invoices on a weekly cycle set to be due on the day of the week they are created will be due the next week.</p> <p>For example:</p> <ul> <li>Today is the 15th, due date is 1st of the month. The due date should likely be the 1st of the next month.</li> <li>Today is the 15th, due date is the last day of the month. The due date will be the last day of the this month.</li> <li>Today is the 15th, due date is the 15th day of the month. The due date will be the 15th day of <strong>next</strong> month.</li> <li>Today is the Friday, due date is the 1st Friday after. The due date will be next Friday, not today.</li> </ul>', 'invoiceLabels' => array('invoice' => 'Invoice', 'invoice_date' => 'Invoice Date', 'due_date' => 'Due Date', 'invoice_number' => 'Invoice Number', 'po_number' => 'PO Number', 'discount' => 'Discount', 'taxes' => 'Taxes', 'tax' => 'Tax', 'item' => 'Item', 'description' => 'Description', 'unit_cost' => 'Unit Cost', 'quantity' => 'Quantity', 'line_total' => 'Line Total', 'subtotal' => 'Subtotal', 'paid_to_date' => 'Paid To Date', 'balance_due' => 'Balance Due', 'partial_due' => 'Partial Due', 'terms' => 'Terms', 'your_invoice' => 'Your Invoice', 'quote' => 'Quote', 'your_quote' => 'Your Quote', 'quote_date' => 'Quote Date', 'quote_number' => 'Quote Number', 'total' => 'Total', 'invoice_issued_to' => 'Invoice Issued To', 'quote_issued_to' => 'Quote Issued To', 'rate' => 'Rate', 'hours' => 'Hours', 'balance' => 'Balance', 'from' => 'From', 'to' => 'To', 'invoice_to' => 'Invoice To', 'quote_to' => 'Quote To', 'details' => 'Details', 'invoice_no' => 'Invoice No.', 'quote_no' => 'Quote No.', 'valid_until' => 'Valid Until', 'client_name' => 'Client Name', 'address1' => 'Street', 'address2' => 'Apt/Suite', 'id_number' => 'ID Number', 'vat_number' => 'VAT Number', 'city_state_postal' => 'City/State/Postal', 'postal_city_state' => 'Postal/City/State', 'country' => 'Country', 'email' => 'Email', 'contact_name' => 'Contact Name', 'company_name' => 'Company Name', 'website' => 'Website', 'phone' => 'Phone', 'blank' => 'Blank', 'surcharge' => 'Surcharge', 'tax_invoice' => 'Tax Invoice', 'tax_quote' => 'Tax Quote', 'statement' => 'Statement', 'statement_date' => 'Statement Date', 'your_statement' => 'Your Statement', 'statement_issued_to' => 'Statement Issued To', 'statement_to' => 'Statement To', 'credit_note' => 'Credit Note', 'credit_date' => 'Credit Date', 'credit_number' => 'Credit Number', 'credit_issued_to' => 'Credit Issued To', 'credit_to' => 'Credit To', 'your_credit' => 'Your Credit', 'work_phone' => 'Phone', 'invoice_total' => 'Invoice Total', 'outstanding' => 'Outstanding', 'invoice_due_date' => 'Due Date', 'quote_due_date' => 'Valid Until', 'service' => 'Service', 'product_key' => 'Product', 'custom_value1' => 'Custom Value', 'custom_value2' => 'Custom Value', 'item_orig' => 'Item', 'quantity_orig' => 'Quantity', 'unit_cost_orig' => 'Unit Cost', 'account.custom_value1' => 'Custom Field', 'account.custom_value2' => 'Custom Field', 'invoice.custom_text_value1' => 'Custom Field', 'invoice.custom_text_value2' => 'Custom Field', 'client.custom_value1' => 'Custom Field', 'client.custom_value2' => 'Custom Field', 'contact.custom_value1' => 'Custom Field', 'contact.custom_value2' => 'Custom Field', 'product.custom_value1' => 'Custom Field', 'product.custom_value2' => 'Custom Field'), 'tasks' => null, 'expenseCurrencyId' => null, 'expenses' => array(), 'industries' => object(Collection), 'countries' => object(Collection), 'paymentTypes' => object(Collection), 'languages' => object(Collection), 'currencies' => object(Collection))) in compiled.php line 15436
at CompilerEngine->get('/home/sangie/tsaiwolf/payments/resources/views/invoices/edit.blade.php', array('__env' => object(Factory), 'app' => object(Application), 'errors' => object(ViewErrorBag), 'clients' => object(Collection), 'entityType' => 'invoice', 'showBreadcrumbs' => false, 'invoice' => object(Invoice), 'method' => 'PUT', 'invitationContactIds' => array('186'), 'url' => 'invoices/151', 'title' => 'Edit Invoice', 'client' => object(Client), 'isRecurring' => false, 'lastSent' => null, 'data' => null, 'account' => object(Account), 'products' => object(Collection), 'taxRateOptions' => array('0 7.500 California Tax' => 'California Tax 7.5%'), 'sizes' => object(Collection), 'invoiceDesigns' => object(Collection), 'invoiceFonts' => object(Collection), 'frequencies' => array('Weekly', 'Two weeks', 'Four weeks', 'Monthly', 'Two months', 'Three months', 'Six months', 'Annually'), 'recurringDueDates' => array('Use client terms' => array('value' => '', 'class' => 'monthly weekly'), '1st day of month' => array('value' => '1998-01-01', 'data-num' => '1', 'class' => 'monthly'), '2nd day of month' => array('value' => '1998-01-02', 'data-num' => '2', 'class' => 'monthly'), '3rd day of month' => array('value' => '1998-01-03', 'data-num' => '3', 'class' => 'monthly'), '4th day of month' => array('value' => '1998-01-04', 'data-num' => '4', 'class' => 'monthly'), '5th day of month' => array('value' => '1998-01-05', 'data-num' => '5', 'class' => 'monthly'), '6th day of month' => array('value' => '1998-01-06', 'data-num' => '6', 'class' => 'monthly'), '7th day of month' => array('value' => '1998-01-07', 'data-num' => '7', 'class' => 'monthly'), '8th day of month' => array('value' => '1998-01-08', 'data-num' => '8', 'class' => 'monthly'), '9th day of month' => array('value' => '1998-01-09', 'data-num' => '9', 'class' => 'monthly'), '10th day of month' => array('value' => '1998-01-10', 'data-num' => '10', 'class' => 'monthly'), '11th day of month' => array('value' => '1998-01-11', 'data-num' => '11', 'class' => 'monthly'), '12th day of month' => array('value' => '1998-01-12', 'data-num' => '12', 'class' => 'monthly'), '13th day of month' => array('value' => '1998-01-13', 'data-num' => '13', 'class' => 'monthly'), '14th day of month' => array('value' => '1998-01-14', 'data-num' => '14', 'class' => 'monthly'), '15th day of month' => array('value' => '1998-01-15', 'data-num' => '15', 'class' => 'monthly'), '16th day of month' => array('value' => '1998-01-16', 'data-num' => '16', 'class' => 'monthly'), '17th day of month' => array('value' => '1998-01-17', 'data-num' => '17', 'class' => 'monthly'), '18th day of month' => array('value' => '1998-01-18', 'data-num' => '18', 'class' => 'monthly'), '19th day of month' => array('value' => '1998-01-19', 'data-num' => '19', 'class' => 'monthly'), '20th day of month' => array('value' => '1998-01-20', 'data-num' => '20', 'class' => 'monthly'), '21st day of month' => array('value' => '1998-01-21', 'data-num' => '21', 'class' => 'monthly'), '22nd day of month' => array('value' => '1998-01-22', 'data-num' => '22', 'class' => 'monthly'), '23rd day of month' => array('value' => '1998-01-23', 'data-num' => '23', 'class' => 'monthly'), '24th day of month' => array('value' => '1998-01-24', 'data-num' => '24', 'class' => 'monthly'), '25th day of month' => array('value' => '1998-01-25', 'data-num' => '25', 'class' => 'monthly'), '26th day of month' => array('value' => '1998-01-26', 'data-num' => '26', 'class' => 'monthly'), '27th day of month' => array('value' => '1998-01-27', 'data-num' => '27', 'class' => 'monthly'), '28th day of month' => array('value' => '1998-01-28', 'data-num' => '28', 'class' => 'monthly'), '29th day of month' => array('value' => '1998-01-29', 'data-num' => '29', 'class' => 'monthly'), '30th day of month' => array('value' => '1998-01-30', 'data-num' => '30', 'class' => 'monthly'), 'Last day of month' => array('value' => '1998-01-31', 'data-num' => '31', 'class' => 'monthly'), '1st Sunday after' => array('value' => '1998-02-01', 'data-num' => '1', 'class' => 'weekly'), '1st Monday after' => array('value' => '1998-02-02', 'data-num' => '2', 'class' => 'weekly'), '1st Tuesday after' => array('value' => '1998-02-03', 'data-num' => '3', 'class' => 'weekly'), '1st Wednesday after' => array('value' => '1998-02-04', 'data-num' => '4', 'class' => 'weekly'), '1st Thursday after' => array('value' => '1998-02-05', 'data-num' => '5', 'class' => 'weekly'), '1st Friday after' => array('value' => '1998-02-06', 'data-num' => '6', 'class' => 'weekly'), '1st Saturday after' => array('value' => '1998-02-07', 'data-num' => '7', 'class' => 'weekly'), '2nd Sunday after' => array('value' => '1998-02-08', 'data-num' => '8', 'class' => 'weekly'), '2nd Monday after' => array('value' => '1998-02-09', 'data-num' => '9', 'class' => 'weekly'), '2nd Tuesday after' => array('value' => '1998-02-10', 'data-num' => '10', 'class' => 'weekly'), '2nd Wednesday after' => array('value' => '1998-02-11', 'data-num' => '11', 'class' => 'weekly'), '2nd Thursday after' => array('value' => '1998-02-12', 'data-num' => '12', 'class' => 'weekly'), '2nd Friday after' => array('value' => '1998-02-13', 'data-num' => '13', 'class' => 'weekly'), '2nd Saturday after' => array('value' => '1998-02-14', 'data-num' => '14', 'class' => 'weekly'), '3rd Sunday after' => array('value' => '1998-02-15', 'data-num' => '15', 'class' => 'weekly'), '3rd Monday after' => array('value' => '1998-02-16', 'data-num' => '16', 'class' => 'weekly'), '3rd Tuesday after' => array('value' => '1998-02-17', 'data-num' => '17', 'class' => 'weekly'), '3rd Wednesday after' => array('value' => '1998-02-18', 'data-num' => '18', 'class' => 'weekly'), '3rd Thursday after' => array('value' => '1998-02-19', 'data-num' => '19', 'class' => 'weekly'), '3rd Friday after' => array('value' => '1998-02-20', 'data-num' => '20', 'class' => 'weekly'), '3rd Saturday after' => array('value' => '1998-02-21', 'data-num' => '21', 'class' => 'weekly'), '4th Sunday after' => array('value' => '1998-02-22', 'data-num' => '22', 'class' => 'weekly'), '4th Monday after' => array('value' => '1998-02-23', 'data-num' => '23', 'class' => 'weekly'), '4th Tuesday after' => array('value' => '1998-02-24', 'data-num' => '24', 'class' => 'weekly'), '4th Wednesday after' => array('value' => '1998-02-25', 'data-num' => '25', 'class' => 'weekly'), '4th Thursday after' => array('value' => '1998-02-26', 'data-num' => '26', 'class' => 'weekly'), '4th Friday after' => array('value' => '1998-02-27', 'data-num' => '27', 'class' => 'weekly'), '4th Saturday after' => array('value' => '1998-02-28', 'data-num' => '28', 'class' => 'weekly')), 'recurringHelp' => '<p>Automatically send clients the same invoices weekly, bi-monthly, monthly, quarterly or annually. </p> <p>Use :MONTH, :QUARTER or :YEAR for dynamic dates. Basic math works as well, for example :MONTH-1.</p> <p>Examples of dynamic invoice variables:</p> <ul><li> "Gym membership for the month of :MONTH" => "Gym membership for the month of November" </li><li> ":YEAR+1 yearly subscription" => "2018 yearly subscription" </li><li> "Retainer payment for :QUARTER+1" => "Retainer payment for Q1" </li> </ul>', 'recurringDueDateHelp' => '<p>Automatically sets a due date for the invoice.</p> <p>Invoices on a monthly or yearly cycle set to be due on or before the day they are created will be due the next month. Invoices set to be due on the 29th or 30th in months that don't have that day will be due the last day of the month.</p> <p>Invoices on a weekly cycle set to be due on the day of the week they are created will be due the next week.</p> <p>For example:</p> <ul> <li>Today is the 15th, due date is 1st of the month. The due date should likely be the 1st of the next month.</li> <li>Today is the 15th, due date is the last day of the month. The due date will be the last day of the this month.</li> <li>Today is the 15th, due date is the 15th day of the month. The due date will be the 15th day of <strong>next</strong> month.</li> <li>Today is the Friday, due date is the 1st Friday after. The due date will be next Friday, not today.</li> </ul>', 'invoiceLabels' => array('invoice' => 'Invoice', 'invoice_date' => 'Invoice Date', 'due_date' => 'Due Date', 'invoice_number' => 'Invoice Number', 'po_number' => 'PO Number', 'discount' => 'Discount', 'taxes' => 'Taxes', 'tax' => 'Tax', 'item' => 'Item', 'description' => 'Description', 'unit_cost' => 'Unit Cost', 'quantity' => 'Quantity', 'line_total' => 'Line Total', 'subtotal' => 'Subtotal', 'paid_to_date' => 'Paid To Date', 'balance_due' => 'Balance Due', 'partial_due' => 'Partial Due', 'terms' => 'Terms', 'your_invoice' => 'Your Invoice', 'quote' => 'Quote', 'your_quote' => 'Your Quote', 'quote_date' => 'Quote Date', 'quote_number' => 'Quote Number', 'total' => 'Total', 'invoice_issued_to' => 'Invoice Issued To', 'quote_issued_to' => 'Quote Issued To', 'rate' => 'Rate', 'hours' => 'Hours', 'balance' => 'Balance', 'from' => 'From', 'to' => 'To', 'invoice_to' => 'Invoice To', 'quote_to' => 'Quote To', 'details' => 'Details', 'invoice_no' => 'Invoice No.', 'quote_no' => 'Quote No.', 'valid_until' => 'Valid Until', 'client_name' => 'Client Name', 'address1' => 'Street', 'address2' => 'Apt/Suite', 'id_number' => 'ID Number', 'vat_number' => 'VAT Number', 'city_state_postal' => 'City/State/Postal', 'postal_city_state' => 'Postal/City/State', 'country' => 'Country', 'email' => 'Email', 'contact_name' => 'Contact Name', 'company_name' => 'Company Name', 'website' => 'Website', 'phone' => 'Phone', 'blank' => 'Blank', 'surcharge' => 'Surcharge', 'tax_invoice' => 'Tax Invoice', 'tax_quote' => 'Tax Quote', 'statement' => 'Statement', 'statement_date' => 'Statement Date', 'your_statement' => 'Your Statement', 'statement_issued_to' => 'Statement Issued To', 'statement_to' => 'Statement To', 'credit_note' => 'Credit Note', 'credit_date' => 'Credit Date', 'credit_number' => 'Credit Number', 'credit_issued_to' => 'Credit Issued To', 'credit_to' => 'Credit To', 'your_credit' => 'Your Credit', 'work_phone' => 'Phone', 'invoice_total' => 'Invoice Total', 'outstanding' => 'Outstanding', 'invoice_due_date' => 'Due Date', 'quote_due_date' => 'Valid Until', 'service' => 'Service', 'product_key' => 'Product', 'custom_value1' => 'Custom Value', 'custom_value2' => 'Custom Value', 'item_orig' => 'Item', 'quantity_orig' => 'Quantity', 'unit_cost_orig' => 'Unit Cost', 'account.custom_value1' => 'Custom Field', 'account.custom_value2' => 'Custom Field', 'invoice.custom_text_value1' => 'Custom Field', 'invoice.custom_text_value2' => 'Custom Field', 'client.custom_value1' => 'Custom Field', 'client.custom_value2' => 'Custom Field', 'contact.custom_value1' => 'Custom Field', 'contact.custom_value2' => 'Custom Field', 'product.custom_value1' => 'Custom Field', 'product.custom_value2' => 'Custom Field'), 'tasks' => null, 'expenseCurrencyId' => null, 'expenses' => array(), 'industries' => object(Collection), 'countries' => object(Collection), 'paymentTypes' => object(Collection), 'languages' => object(Collection), 'currencies' => object(Collection))) in compiled.php line 15268
at View->getContents() in compiled.php line 15256
at View->renderContents() in compiled.php line 15240
at View->render() in compiled.php line 16490
at Response->setContent(object(View)) in compiled.php line 15983
at Response->__construct(object(View)) in compiled.php line 8445
at Router->prepareResponse(object(Request), object(View)) in compiled.php line 9538
at ControllerDispatcher->Illuminate\Routing\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
at Pipeline->Illuminate\Routing\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in compiled.php line 10020
at Pipeline->then(object(Closure)) in compiled.php line 9539
at ControllerDispatcher->callWithinStack(object(InvoiceController), object(Route), object(Request), 'edit') in compiled.php line 9526
at ControllerDispatcher->dispatch(object(Route), object(Request), 'App\Http\Controllers\InvoiceController', 'edit') in compiled.php line 8596
at Route->runController(object(Request)) in compiled.php line 8583
at Route->run(object(Request)) in compiled.php line 8297
at Router->Illuminate\Routing\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Authenticate.php line 102
at Authenticate->handle(object(Request), object(Closure), 'user')
at call_user_func_array(array(object(Authenticate), 'handle'), array(object(Request), object(Closure), 'user')) in compiled.php line 10035
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in DatabaseLookup.php line 19
at DatabaseLookup->handle(object(Request), object(Closure), 'user')
at call_user_func_array(array(object(DatabaseLookup), 'handle'), array(object(Request), object(Closure), 'user')) in /home/sangie/tsaiwolf/payments/bootstrap/cache/compiled.php line 10035
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in compiled.php line 10020
at Pipeline->then(object(Closure)) in compiled.php line 8298
at Router->runRouteWithinStack(object(Route), object(Request)) in compiled.php line 8289
at Router->dispatchToRoute(object(Request)) in compiled.php line 8279
at Router->dispatch(object(Request)) in compiled.php line 2419
at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in HandlePreflight.php line 38
at HandlePreflight->handle(object(Request), object(Closure))
at call_user_func_array(array(object(HandlePreflight), 'handle'), array(object(Request), object(Closure))) in compiled.php line 10035
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in Debugbar.php line 51
at Debugbar->handle(object(Request), object(Closure))
at call_user_func_array(array(object(Debugbar), 'handle'), array(object(Request), object(Closure))) in compiled.php line 10035
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in StartupCheck.php line 220
at StartupCheck->handle(object(Request), object(Closure))
at call_user_func_array(array(object(StartupCheck), 'handle'), array(object(Request), object(Closure))) in compiled.php line 10035
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in QueryLogging.php line 32
at QueryLogging->handle(object(Request), object(Closure))
at call_user_func_array(array(object(QueryLogging), 'handle'), array(object(Request), object(Closure))) in compiled.php line 10035
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in DuplicateSubmissionCheck.php line 41
at DuplicateSubmissionCheck->handle(object(Request), object(Closure))
at call_user_func_array(array(object(DuplicateSubmissionCheck), 'handle'), array(object(Request), object(Closure))) in compiled.php line 10035
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 3225
at VerifyCsrfToken->handle(object(Request), object(Closure)) in VerifyCsrfToken.php line 44
at VerifyCsrfToken->handle(object(Request), object(Closure))
at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in compiled.php line 10035
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 13546
at ShareErrorsFromSession->handle(object(Request), object(Closure))
at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in compiled.php line 10035
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 12036
at StartSession->handle(object(Request), object(Closure))
at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in compiled.php line 10035
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 13285
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in compiled.php line 10035
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 13222
at EncryptCookies->handle(object(Request), object(Closure))
at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in compiled.php line 10035
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 3286
at CheckForMaintenanceMode->handle(object(Request), object(Closure))
at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in compiled.php line 10035
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in compiled.php line 10020
at Pipeline->then(object(Closure)) in compiled.php line 2366
at Kernel->sendRequestThroughRouter(object(Request)) in compiled.php line 2350
at Kernel->handle(object(Request)) in index.php line 51

(this repeats three times)

Are you using the code from GitHub, the self-host zip or Docker?

Try loading /update in your browser, if that doesn’t help run php artisan cache:clear

Where do I run the command? In my Ubuntu terminal?

I’m using this through Softaculous with a $30 license I bought.

Did loading /update (or /public/update) in your browser help?

You need SSH access to run the command line.

The update did things but didn’t fix the problem… However, when I ran the command, that fixed it! Thank you <3

Thanks for letting us know!