• Hello, found a fatal error in the logs caused by ActiveCampaign for WooCommerce:

    
    PHP Fatal error: Uncaught Error: Call to a member function get() on null in /nas/content/live/site/wp-content/plugins/woocommerce/includes/class-wc-cart-session.php:73
    Stack trace:
    #0 /nas/content/live/site/wp-content/plugins/woocommerce/includes/class-wc-cart.php(602): WC_Cart_Session->get_cart_from_session()
    #1 /nas/content/live/site/wp-content/plugins/woocommerce/includes/class-wc-cart.php(623): WC_Cart->get_cart()
    #2 /nas/content/live/site/wp-content/plugins/woocommerce/includes/class-wc-cart-session.php(209): WC_Cart->is_empty()
    #3 /nas/content/live/site/wp-includes/class-wp-hook.php(287): WC_Cart_Session->maybe_set_cart_cookies('')
    #4 /nas/content/live/site/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #5 /nas/content/live/site/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
    #6 /nas/content/live/site/wp-includes/load.php(1007): do_action('shutdown')
    #7 [internal function]: shutdown_action_hook()
    #8 {main}
    thrown in /nas/content/live/site/wp-content/plugins/woocommerce/includes/class-wc-cart-session.php on line 73, referer: https://site.com/wp-cron.php?doing_wp_cron=1623090210.3248760700225830078125
    

    It seems that the activecampaign_for_woocommerce_cart_updated_recurring_event hook and the associated Activecampaign_For_Woocommerce_Run_Abandonment_Sync_Command->abandoned_cart_hourly_task() action is the culprit as part of an hourly cron.

  • The topic ‘PHP Fatal error: Uncaught Error: Call to a member function get() on null’ is closed to new replies.