Sending invoice through the admin portal via "/invoices" is not working, it seems there is something wrong with the default email template.
Error modal upon clicking "Send":
Undefined variable: notificationBody
Stacktrace error in debug logging: [2019-09-09 07:57:02] production.ERROR: Undefined variable: notificationBody {"userId":1,"email":"stefan@hyndor.com","exception":"[object] (ErrorException(code: 0): Undefined variable: notificationBody at /var/www/html/Corals/core/User/Communication/Classes/CoralsBaseNotification.php:184)
[stacktrace]
Stacktrace error in debug logging: [2019-09-09 07:57:02] production.ERROR: Undefined variable: notificationBody {"userId":1,"email":"stefan@hyndor.com","exception":"[object] (ErrorException(code: 0): Undefined variable: notificationBody at /var/www/html/Corals/core/User/Communication/Classes/CoralsBaseNotification.php:184)
[stacktrace]
1 Answers
Hello,
Can you check notification event
notifications.invoice.send_invoice
at Notification templates and make sure that the Email channel is checked
Yes, it is there and email channel is selected.
please remove the auto close function, it is not suited because you did not resolve the ticket yet…
Problem solved, for some reason the format of this notification template does not allow the use of tables (Visit your dashboard button)
Please login or Register to submit your answer