• Resolved siskoto

    (@siskoto)


    Hello,

    We are using your plugin for some time now. At some point the emails stopped sending and I don’t know why. Could it be because of the upgrade to WordPress 5.3.0? I tested with both logged and not logged users. The abandoned cart is logged in the backend (admin panel) but the email (set to 1 hour after) does not send at all. I have checked the settings you recommended to check, here:

    https://www.tychesoftwares.com/docs/docs/abandoned-cart-pro-for-woocommerce/wp_alternate_cron/?utm_source=userwebsite&utm_medium=link&utm_campaign=AbandonedCartProFAQTab

    define( ‘WP_AUTO_UPDATE_CORE’, false );
    define( ‘ALTERNATE_WP_CRON’, true);

    I have also checked if WooCommerce has issues sending emails and I see that there are not problems at all.

    I can send you FTP and admin logins if you need.

    Oh, test emails are sent successfully as well.

    I may ask the webhosting company but what to ask them actually?

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor chetnapatel

    (@chetnapatel)

    Hi,

    Thank you for explaining the issue in detail.

    >>Could it be because of the upgrade to WordPress 5.3.0?

    No, it is not an issue that you have upgraded to WordPress 5.3.0.

    It may be a possibility that wp_cron has stopped to run. Before contacting to the hosting team, I would be happy to check the issue on your site. You can you share your access on “support at tychesoftwares dot freshdesk dot com” support tool.

    Can you share with us the screenshot of “wp-config.php” file where you have defined the Alternate wp_cron job?

    Also, the “define( ‘WP_AUTO_UPDATE_CORE’, false );” constant is not related to the email sending. You can make sure that the constant DISABLE_WP_CRON is defined or not.

    You can also setup the cron job in the cPanel. You can set the script to run the cron job from cPanel. When you will set the cron job from cPanel then abandoned cart reminder email should be sent to the users.

    Please follow below steps to set the cron job from cPanel:

    Please go to the cPanel access.

    1) First, you need to login to the cPanel. Then you can find “Cron Job” section. After that, you need to add minutes (In that time the cron job will run) in the “Minute:” option. You can decide the frequency which you want to set the script to run at, for example, 5 minutes, 15 minutes, 30 minutes, etc.

    2) You need to put below script path in the “Command:” option:

    /usr/bin/wget -q -c < Your website URL with http:/https: >/wp-content/plugins/woocommerce-abandoned-cart/cron/wcal_send_email.php

    Then click on “Add New Cron Job” button.

    For your reference, I am attaching the screenshot: https://www.screencast.com/t/e9C0HJhv7LR

    Regards,
    Chetna Bhutka

    I have the same problem. Set up a cron through cPanel. Also executed to code directly but nothing is happening. Also no entries in ‘wp_ac_sent_history_lite’

    Plugin Contributor chetnapatel

    (@chetnapatel)

    Hi,

    Can you share with us the screenshot of the script which you have set in the cPanel? And share with us the URL of your site.

    If you do not comfortable to share the screenshot here then you can drop us an email on “support at tychesoftwares dot freshdesk dot com” where we can more communicate on it.

    Regards,
    Chetna Bhutka

    Problem is solved, cron was not working because the website was protected with htpasswd. Thanks for the reply!

    I’m having the same problem. Emails sent before, now they don’t, and test orders disappeared – guest and registered. Cron has worked with other plugins without editing cpanel.

    Plugin Contributor chetnapatel

    (@chetnapatel)

    Hi,

    Can you please let me know are you using SMTP plugin on your site?

    If yes, then can you please deactivate that plugin and check the issue? Also, can I know have you changed anything else on your site( Like added new plugin or updated plugin/them ) as you said that emails were being sent earlier.

    Regards,
    Chetna Bhutka

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Emails not sent + my last tests disappeared’ is closed to new replies.