I cant make a purchase, it gives me ksort error something.
- MSAnswered
That is due to email failing. Did you update the mail settings?
- EHAnswered
Mian Saleem Yeah i did.
if (!$original_purchase || $original_purchase->draft) { //if (safe_email($this->purchase->supplier->email) && !default_supplier($this->purchase->supplier_id)) if (safe_email($this->purchase->supplier->email)) { $this->purchase->supplier->notify(new \Modules\MPS\Notifications\PurchaseCreated($this->purchase)); } }
- MSAnswered
I mean your email settings from MPS settings page. You can check the
MAIL_FROM_ADDRESS
in.env
files. Thank you - EHAnswered
Mian Saleem I dont have any email setup, what should i put it in there ?
MAIL_FROM_ADDRESS= MAIL_FROM_NAME= MAIL_DRIVER=smtp MAIL_HOST=smtp.mailtrap.io MAIL_PORT=2525 MAIL_USERNAME= MAIL_PASSWORD= MAIL_ENCRYPTION= MAILGUN_DOMAIN= MAILGUN_SECRET= MAILGUN_ENDPOINT=
- MSAnswered
Hello,
Whatever your email settings are. You can configure this from MPS settings page. For testing, you can use the mailtrap.io’s smtp as they offer free account.
Thank you
- EHAnswered
Mian Saleem Alright, i will get back to you later.
- EHAnswered
@Mian Saleem now its green but the quantity after purchase is still not fixed.
- MSAnswered
Let me check. Is there any error logs in
storage/logs/
folder. Did you check this on live demo? - EHAnswered
Mian Saleem Sorry cant check the live demo because of the big shop icon. I can see 3 files inside that
storage/logs/
but i dont know how to download it using ssh.If i check it using laravel forge site, on my site log it said something like this
[2021-07-04 10:24:19] production.INFO: Unable to generate pdf file for 2996e146-33d7-4ca1-9d08-54bfc65a155c
Attachments - EHAnswered
Any news about this bug ?
- Login to Reply