• Resolved Jess – a11n

    (@jlundie)


    Hi there!

    We are seeing an error with WooCommerce Subscriptions as of the 1.4.0 update. This error is thrown during the subscription renewal process and prevents the creation of renewal orders.

    We tested and are still seeing the issue after updating to 1.4.1. For now we’ve deactivated Activity Log for WooCommerce.

    Please let us know if there’s any other information we can provide to assist with debugging this issue – thank you!

    
    scheduled action 244094 (subscription payment) failed to finish processing due to the following error: Uncaught Error: Call to a member function get_name() on bool in /srv/htdocs/wp-content/plugins/wp-activity-log-for-woocommerce/wp-security-audit-log/custom-sensors/WSAL_Sensors_WooCommerce.php:3053
    Stack trace:
    #0 /wordpress/core/5.9.3/wp-includes/class-wp-hook.php(307): WSAL_Sensors_WooCommerce->event_order_items_added(101770, Object(WC_Order_Item_Product), 28002)
    #1 /wordpress/core/5.9.3/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #2 /wordpress/core/5.9.3/wp-includes/plugin.php(474): WP_Hook->do_action(Array)
    #3 /srv/htdocs/wp-content/plugins/woocommerce/includes/wc-order-item-functions.php(39): do_action('woocommerce_new...', 101770, Object(WC_Order_Item_Product), 28002)
    #4 /srv/htdocs/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/wcs-order-functions.php(256): wc_add_order_item(28002, Array)
    #5 /srv/htdocs/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/wcs-renewal-functions.php(29): wcs_create_order_from_subscription(Object(WC_Subscription), 'renewal_order')
    #6 /srv/htdocs/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/class-wc-subscriptions-manager.php(116): wcs_create_renewal_order(Object(WC_Subscription))
    #7 /srv/htdocs/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/class-wc-subscriptions-manager.php(89): WC_Subscriptions_Manager::process_renewal(5377, 'active', 'Subscription re...')
    #8 /wordpress/core/5.9.3/wp-includes/class-wp-hook.php(307): WC_Subscriptions_Manager::prepare_renewal(5377)
    #9 /wordpress/core/5.9.3/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array)
    #10 /wordpress/core/5.9.3/wp-includes/plugin.php(522): WP_Hook->do_action(Array)
    #11 /srv/htdocs/wp-content/plugins/woocommerce/packages/action-scheduler/classes/actions/ActionScheduler_Action.php(22): do_action_ref_array('woocommerce_sch...', Array)
    #12 /srv/htdocs/wp-content/plugins/woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php(65): ActionScheduler_Action->execute()
    #13 /srv/htdocs/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_QueueRunner.php(162): ActionScheduler_Abstract_QueueRunner->process_action(244094, 'WP Cron')
    #14 /srv/htdocs/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_QueueRunner.php(132): ActionScheduler_QueueRunner->do_batch(25, 'WP Cron')
    #15 /wordpress/core/5.9.3/wp-includes/class-wp-hook.php(307): ActionScheduler_QueueRunner->run('WP Cron')
    #16 /wordpress/core/5.9.3/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array)
    #17 /wordpress/core/5.9.3/wp-includes/plugin.php(522): WP_Hook->do_action(Array)
    #18 /wordpress/core/5.9.3/wp-cron.php(138): do_action_ref_array('action_schedule...', Array)
    #19 {main}
      thrown
    
Viewing 1 replies (of 1 total)
  • Plugin Support robertabela

    (@robert681)

    Hello @jlundie

    We have just uploaded update 1.4.2 of this extension in which we included a fix for this issue. Can you please update our copy? This should do the trick.

    Thank you for your patience and sorry for the inconvenience. Please let us know if there is anything else we can assist you with.

    Have a good day.

Viewing 1 replies (of 1 total)

The topic ‘Fatal error with WooCommerce Subscriptions’ is closed to new replies.