Moowoodle Woo Commerce Scheduled Action Fail
-
I do like this plugin. I have just swapped back to it from Edwiser. So many issues with Edwiser.
However
I’m getting a scheduled action fail with the moowoodle and the subscriptions. When I try to cancel a subscription the site gets a critical error.
Everything else seems to be OK.
Here is what I see in the woocommerce log.(I don’t understand it but I’m sure someone will).
woocommerce_scheduled_subscription_payment
2021-04-07 03:14:51 +0000 action created 2021-05-07 03:15:54 +0000 action started via WP Cron 2021-05-07 03:15:54 +0000 unexpected shutdown: PHP Fatal error Uncaught Error: Call to a member function get_user() on null in /home/customer/www/myhomeschool.com.au/public_html/wp-content/plugins/moowoodle/classes/class-moowoodle-enrollment.php:48 Stack trace: #0 /home/customer/www/myhomeschool.com.au/public_html/wp-content/plugins/moowoodle/classes/class-moowoodle-enrollment.php(253): MooWoodle_Enrollment->get_moodle_user_id(false) #1 /home/customer/www/myhomeschool.com.au/public_html/wp-includes/class-wp-hook.php(292): MooWoodle_Enrollment->update_course_access(Object(WC_Subscription), 'on-hold', 'active') #2 /home/customer/www/myhomeschool.com.au/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array) #3 /home/customer/www/myhomeschool.com.au/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array) #4 /home/customer/www/myhomeschool.com.au/public_html/wp-content/plugins/woocommerce-subscriptions/includes/class-wc-subscription.php(584): do_action('woocommerce_sub...', Object(WC_Subscription), 'on-hold', 'active') #5 /home/customer in /home/customer/www/myhomeschool.com.au/public_html/wp-content/plugins/moowoodle/classes/class-moowoodle-enrollment.php on line 48
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Moowoodle Woo Commerce Scheduled Action Fail’ is closed to new replies.