Prestashop: Email Notifications - new_order

Created on 6 Aug 2019  路  29Comments  路  Source: PrestaShop/PrestaShop

Hi,

We are not receiving email notifications of new orders. Just yesterday we received, but today several orders have dropped and we have not received email's.

I never changed the module configuration. and now even the site crashes when I have the active module

image

Additional information
PrestaShop version: 1.7.5.2
PHP version: 7.1.22

1.7.5.2 Bug FO No change required

All 29 comments

Hi @JorgeNogueiraLFMPro,

Could you please provide us with more info? We need more details to understand how we can reproduce your issue:

  • host
  • server setup and configuration
  • PrestaShop version (source)
  • debug mode report
  • PHP error logs
  • apache error log
  • javascript console log

Don't you know how to get this information? Please read the following article:
http://build.prestashop.com/howtos/misc/how-to-create-bug-report/

Thanks!

PHP error log:
Apache: /var/log/apache/php_error.log
Nginx: /var/log/php-fpm/default/error.log
IIS: %SystemDrive%\inetpub\logs\LogFiles
Server setup:
Operating system.
Type and version of webserver (Apache, Nginx, IIS, other).
Version of PHP.
Version of MySQL/MariaDB.
Make sure you have emptied PrestaShop鈥檚 cache!

bGZtcHJvLmNvbS5lcnJvci5sb2c= (1).zip

@JorgeNogueiraLFMPro, thanks for your feedback.

I found this error in your log file

[Tue Aug 06 11:57:18.364551 2019] [php7:error] [pid 17155] [client 37.189.146.145:51135] PHP Fatal error: Cannot declare class MailAlert, because the name is already in use in /home/lab/domains/lfmpro.com/public_html/modules/mailalerts/MailAlert.php on line 290, referer: https://www.lfmpro.com/pt/mirrorless

What is the exact version of the mailalerts module did you use?
Could you please try to reset it, clear cache, check & feedback.

Hi,
I tried to do what you told me but still don't send new_order email.
The error on the page has disappeared.

Alertas por e-mail
v2.1.1

@JorgeNogueiraLFMPro, in the BO => Advanced Parameters => Administration page, check if the option "Show notifications for new orders" is enabled.
image

Thanks!

@khouloudbelguith yes as you can see it is active

image

@JorgeNogueiraLFMPro, We need to retrieve the PHP error log and the debug mode report in order to find out what's wrong.
Don't you know how to get this information? Please read the following article:
http://build.prestashop.com/howtos/misc/how-to-create-bug-report/

Thanks!

@khouloudbelguith
image

@JorgeNogueiraLFMPro, this exception is displayed in the Product page Front office?
This link: https://www.lfmpro.com/pt/profoto-connect#/251-compatibilidade-canon?
Thanks!

@khouloudbelguith
This appear on category page.
This Link: https://www.lfmpro.com/pt/dslr

@JorgeNogueiraLFMPro, it is OK in my side
image

Thanks!

@khouloudbelguith
Yes I know it is working. What I sent you was when I turned on debug mode in BO. The only problem I have in the store is not receiving new_orders emails. Isn't it better to go to the site BO to test?

@JorgeNogueiraLFMPro, Could you please try to clear cache manually by deleting all the folder into var/cache (prod & dev).
Thanks to check and feedback.

@JorgeNogueiraLFMPro It could not be related to the module at all.

In my case, when I enable developer mode, Prestashop is unable to send any email.

@JorgeNogueiraLFMPro, from your BO => Advanced Parameters => Emails => Test Email is well sent?

Thanks!

@khouloudbelguith Yes I am receiving thank you

@JorgeNogueiraLFMPro, thanks!
Feel free to open a new one when needed.

Hi,

After clearing the cache manually, we came across this situation that was not happening in my Pack's module. For the information I pointed out did not appear.

image

@JorgeNogueiraLFMPro, what is the exact issue on your screenshot?

Thanks!

@khouloudbelguith
These values, stock and reference that appear below the product image did not appear before. And after we cleared the cache began to appear

@JorgeNogueiraLFMPro, about the stock, in your BO => Shop Parameters => Product Settings Page => "Display available quantities on the product page" option is enabled?

Thanks

@khouloudbelguith

You can see what happens when I update the page, prices do not appear but when you finish updating the page they appear and should not appear.

Mala R铆gida DNP DS620.zip

@JorgeNogueiraLFMPro, show prices option in your case is disabled?
Also, the Display discounted price option is disabled?

Thanks!

@khouloudbelguith This is active as this is within a module of making product packs. And no one changed the settings. They appeared because of clearing the cache manually.

@JorgeNogueiraLFMPro,

They appeared because of clearing the cache manually.

So, before clearing the cache => they are not displayed => error => they should be displayed because the option is enabled
After clearing the cache, they are displayed again.

Thanks!

@khouloudbelguith
I was seeing but the settings are the same as before clearing the cache.

@JorgeNogueiraLFMPro, try to disable the "show price" option & the "display the quantity available" & check if they are still displayed?

Thanks!

@khouloudbelguith
I created some rules in css inside the module, it worked correctly. Thanks

@JorgeNogueiraLFMPro, thanks for your feedback.
Feel free to open a new one when needed.

Thanks!

Was this page helpful?
0 / 5 - 0 ratings