• Resolved musicalliancedev

    (@musicalliancedev)


    Please help resolve the MooWoodle error that is causing WooCommerce Subscription renewals to fail.

    ==================================

    An error has occurred while processing recent subscription related events. For steps on how to fix the affected subscriptions and to learn more about the possible causes of this error, please read our guide here.

    Affected events:
    subscription expiration for #35023
    subscription expiration for #35126
    subscription expiration for #35217
    subscription expiration for #35219
    subscription expiration for #35229
    subscription expiration for #35347
    subscription expiration for #35358
    subscription expiration for #35456
    subscription expiration for #36620
    subscription payment for #37003
    To see further details about these errors, view the failed-scheduled-actions log file from the WooCommerce logs screen.

    ========================================
    WooCommerce Log
    ========================================

    08-14-2022 @ 09:56:13 - scheduled action 37530 (subscription expiration) failed to finish processing due to the following error: Uncaught Error: Call to a member function get_user() on null in /var/www/musicalliance.com/htdocs/wp-content/plugins/moowoodle/classes/class-moowoodle-enrollment.php:48
    Stack trace:
    #0 /var/www/musicalliance.com/htdocs/wp-content/plugins/moowoodle/classes/class-moowoodle-enrollment.php(253): MooWoodle_Enrollment->get_moodle_user_id()
    #1 /var/www/musicalliance.com/htdocs/wp-includes/class-wp-hook.php(307): MooWoodle_Enrollment->update_course_access()
    #2 /var/www/musicalliance.com/htdocs/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #3 /var/www/musicalliance.com/htdocs/wp-includes/plugin.php(476): WP_Hook->do_action()
    #4 /var/www/musicalliance.com/htdocs/wp-content/plugins/woocommerce-subscriptions/includes/class-wc-subscription.php(584): do_action()
    #5 /var/www/musicalliance.com/htdocs/wp-content/plugins/woocommerce/includes/class-wc-order.php(222): WC_Subscription->status_transition()
    #6 /var/www/musicalliance.com/htdocs/wp-content/plugins/woocommerce-subscriptions/includes/class-wc-subscriptio
    08-14-2022 @ 09:56:13 - action args: subscription_id: 34880
    08-14-2022 @ 10:03:46 - scheduled action 37536 (subscription expiration) failed to finish processing due to the following error: Uncaught Error: Call to a member function get_user() on null in /var/www/musicalliance.com/htdocs/wp-content/plugins/moowoodle/classes/class-moowoodle-enrollment.php:48
    Stack trace:
    #0 /var/www/musicalliance.com/htdocs/wp-content/plugins/moowoodle/classes/class-moowoodle-enrollment.php(253): MooWoodle_Enrollment->get_moodle_user_id()
    #1 /var/www/musicalliance.com/htdocs/wp-includes/class-wp-hook.php(307): MooWoodle_Enrollment->update_course_access()
    #2 /var/www/musicalliance.com/htdocs/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #3 /var/www/musicalliance.com/htdocs/wp-includes/plugin.php(476): WP_Hook->do_action()
    #4 /var/www/musicalliance.com/htdocs/wp-content/plugins/woocommerce-subscriptions/includes/class-wc-subscription.php(584): do_action()
    #5 /var/www/musicalliance.com/htdocs/wp-content/plugins/woocommerce/includes/class-wc-order.php(222): WC_Subscription->status_transition()
    #6 /var/www/musicalliance.com/htdocs/wp-content/plugins/woocommerce-subscriptions/includes/class-wc-subscriptio
    08-14-2022 @ 10:03:46 - action args: subscription_id: 34882

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Dualcube

    (@dualcube)

    Hi @musicalliancedev, sorry to hear that you have faced this issue.

    However we haven’t faced this on our end.

    Can you please share how can we recreate this on our end?

    pbhattacharya

    (@pbhattacharya)

    Hi @dualcube, I am also facing the same issue where the renewal is automatically going to hold status
    subscription payment for #6094
    subscription payment for #6100
    subscription payment for #6106
    subscription payment for #6057
    subscription payment for #6109
    subscription payment for #6113
    subscription payment for #6122`
    In scheduled action wps_sfw_expired_renewal_subscription is showing as pending status.
    Could you please let us know whats the fix we need to activate over here

    Plugin Author Dualcube

    (@dualcube)

    Hi @pbhattacharya, it seems like issue with WooCommerce Subscription.

    I am afraid our plugin MooWoodle is yet to be compatible with WooCommerce Subscription.
    Once we will release this support, we will let you know.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘MooWoodle is causing WooCommerce Subscriptions renewal to fail’ is closed to new replies.