Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter kevmatthews

    (@kevmatthews)

    Hey Jay!

    Thanks so much for this – I’ve just tested and it’s now working perfectly!

    Kev

    Thread Starter kevmatthews

    (@kevmatthews)

    Hey Jay – I just found this in my WP-Error log -does this help? It looks like it references the plugin:

    [15-Feb-2021 21:02:13 UTC] ID was called incorrectly. Product properties should not be accessed directly. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_add_to_cart’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::add_to_cart, WC_Cart->add_to_cart, do_action(‘woocommerce_add_to_cart’), WP_Hook->do_action, WP_Hook->apply_filters, EWD_UWPM_Track_Current_Cart, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong. This message was added in version 3.0.

    Is there anything else I can check? Should it create the email in a database somewhere or does it run a particular cron task?

    • This reply was modified 3 years, 9 months ago by kevmatthews.
    Thread Starter kevmatthews

    (@kevmatthews)

    Hey Jay
    I’ve done a bit more testing – if I set the action to send on the purchase of any product it works ok and I get the email. If I set it to a specific product or category then it doesn’t work.
    Hope that helps

    Kev

    Thread Starter kevmatthews

    (@kevmatthews)

    Hey Jay – thanks, no worries at ?? The purchase completes all the way through and payment is taken, I’ve run the debug and the error I’m seeing in the debug log is:

    PHP Notice: Undefined variable: All_Cat_IDs in /home3/[redacted]/public_html/wp-content/plugins/ultimate-wp-mail/Functions/EWD_UWPM_Send_On_Actions.php on line 362

    I have some other plugin’s enabled but given the error I don’t believe that this is related.

    Thanks

    Kev

    Thread Starter kevmatthews

    (@kevmatthews)

    Ok, I’ve done some more testing.
    If I send the mail to a list and then select Woocommerce and “all previous purchasers” then hit send, then I get an email. If I try to email based on the specific product that was purchased then it doesn’t email. The rule based on event of send on purchase of the same product also doesn’t trigger.
    Looking at the email log – this agrees and shows nothing is attempted for a specific product purchase or an event of the same purchase.

    /edit – I’ve just created a new product and test purchased that and the same issue persists, almost like the plugin can’t see the product

    • This reply was modified 3 years, 10 months ago by kevmatthews.
    Thread Starter kevmatthews

    (@kevmatthews)

    Thanks!
    Yes it’s really odd – if I manually pick a user to send the email to, it sends ok and shows in the stats as sent, just anything that integrates with WooCommerce doesn’t seem to trigger the actual send.

    I’ll give the email log plugin a try and double check if it’s trying to do anything at all ??

Viewing 6 replies - 1 through 6 (of 6 total)