• enricocipolla

    (@enricocipolla)


    I’ve installed plugin and I see abandoned carts on the dashboard.

    I have two main problem:

    1. In the dashboard I see “3 email sent” but the email isn’t sent really… In WP mail logging I see the mail, but the mail isn’t sent really ?? . As I read some of your articles, I’ve added in wp-config define(‘ALTERNATE_WP_CRON’, true); then I created a manual cron job on cPanel; then I inserted “woocommerce_ac_send_email_action” every minute on WP Cron plugin..
    2. I tested my website not logged and now I see on the top of the screen the message: Deprecated: Automatic conversion of false to array is deprecated in?/home/customer/www/xxxx.it/public_html/wp-content/plugins/woocommerce-abandoned-cart/includes/class-wcal-common.php?on line?872

    Could you help me please? I’m going crazy finding a solution…

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support oluisrael

    (@oluisrael)

    Hi @enricocipolla the thing is, we do not wp_cron directly.

    1. We use the action scheduler library (present in WC) to automate the reminder emails,
    2. The action scheduler relies on wp_cron to run every 1 minute and check and run any pending actions,
    3. if wp_cron is disabled, the pending actions are run only when a wp-admin page is accessed,
    4. Hence, we advise users to have wp_cron enabled.

    With that, it means defining another alternate cron job isn’t needed.

    With that being said, you’ll need to add the constant below, but this time with a different value to your wp-config.php file.

    It will be define(‘ALTERNATE_WP_CRON’, false);

    Add the constant just before the line that says, “That’s all, stop editing! Happy blogging.” This enables it to run on page load, not when you call it directly, via?wp-cron.php?which you certainly do not need to edit. So I’ll strongly suggest you leave that file untouched.

    Lastly, I’ll need you to check the action scheduler page to be certainly sure that you do not have backlog of pending actions. If you do a backlog of actions, this will hinder our action hook, “woocommerce_ac_send_email_action”, from running efficiently. You can sort this out by manually running every pending action you have or deleting the irrelevant ones.

    I hope this helps.

    Thread Starter enricocipolla

    (@enricocipolla)

    Is there someone?

    Thread Starter enricocipolla

    (@enricocipolla)

    and what about the second isssue? maybe for the “alternate” added in wp-config I see a message in front end: “Deprecated: Automatic conversion of false to array is deprecated in?/home/customer/www/xxxx.it/public_html/wp-content/plugins/woocommerce-abandoned-cart/includes/class-wcal-common.php?on line?872

    Thread Starter enricocipolla

    (@enricocipolla)

    What about the error message?

    Plugin Support oluisrael

    (@oluisrael)

    @enricocipolla May I ask what PHP version your site is running on?

    Thread Starter enricocipolla

    (@enricocipolla)

    the current PHP version is 8.2.23

    Thread Starter enricocipolla

    (@enricocipolla)

    any update?

    Plugin Support oluisrael

    (@oluisrael)

    @enricocipolla I have tried to recreate the error but didn’t get anything. Can you let me know if the error appears on the admin dashboard or the site frontend?

    Thread Starter enricocipolla

    (@enricocipolla)

    in the front end. I “resolved”, hiding debug errors from wp-admin ??

    Plugin Support oluisrael

    (@oluisrael)

    @enricocipolla that’s awesome! Meanwhile, can you confirm if every other thing works fine with our plugin on your site?

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.