My Question is regarding the the email notification on this 2 situation.
Client get and open the quote, then they click approve to convert the quote to invoice. Then when the invoice generated, i would like for them to receive an email to notify them, and also an email to sent to us to notify us of the approval.
We approved the quote for them on the backend, and as per no 1, they and us both get notification via email and link to the invoice.
I believe in v4 i and my client both received the notification, so i did not sure if this only my issues.
And just additional info, the email delivery function through “send email” on invoiceninja 5 works, only when converting quote to invoice or customers approved invoice, it didnt sent an email to me and my client
Hi Hillel, after extensive digging, i found out that probably it has something to do with the cron job not being enabled?
Because i have enabled the “Settings > User Details > Notifications” side.
And, about the 2nd point, im just try to tell you that, by manually clicking “Email Invoice” or “Email Quote” email delivered without any issues.
So the issues is only on when the client click approve quote, or we our selves click “Convert to Invoice”, in this situation the email has not being delivered automatically.
So i suspect it has something to do with cron, which i have worked with my hosting provider, at first, the crontab has been blocked, so they allow me to use crontab. Now new issues arises, i got the following error in error_log
[03-Nov-2021 09:05:01 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 8192 bytes) in /home/public_html/sub.mydomainhere/v5/vendor/livewire/livewire/src/Commands/PublishCommand.php on line 45
[03-Nov-2021 09:05:01 UTC] PHP Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 20480 bytes) in /home/public_html/sub.mydomainhere/v5/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php on line 129
and this error is exactly matches the timing cronjob that i set for testing (5 minutes).
Im using ea-php80 with PHP limit, memory_limit has been set to 2048M
Laravel log is empty. So i didnt sure where the issues are. This surely pointed out that the cronjob cant run because somehow it exhausted the memory.
I installed using softaculous in cpanel shared hosting environment.