Support » Plugin: Jilt for WooCommerce » Call to a member function set() on null

  • Resolved jmbronson

    (@jmbronson)


    I inspected my server logs and noticed numerous errors from the Jilt plugin. This error is actually being logged multiple times per day:

    [29-Aug-2019 00:01:30 UTC] PHP Fatal error: Uncaught Error: Call to a member function set() on null in /home/bosslife/public_html/wp-content/plugins/jilt-for-woocommerce/includes/class-wc-jilt-session.php:44
    Stack trace:
    #0 /home/bosslife/public_html/wp-content/plugins/jilt-for-woocommerce/includes/handlers/class-wc-jilt-cart-handler.php(429): WC_Jilt_Session::set_jilt_order_data(‘cde99034-dec0-4…’)
    #1 /home/bosslife/public_html/wp-content/plugins/jilt-for-woocommerce/includes/handlers/class-wc-jilt-cart-handler.php(348): WC_Jilt_Cart_Handler->get_cart_token()
    #2 /home/bosslife/public_html/wp-content/plugins/jilt-for-woocommerce/includes/handlers/class-wc-jilt-cart-handler.php(406): WC_Jilt_Cart_Handler->get_cart_data()
    #3 /home/bosslife/public_html/wp-content/plugins/jilt-for-woocommerce/includes/frontend/class-wc-jilt-frontend.php(136): WC_Jilt_Cart_Handler->get_cart_hash()
    #4 /home/bosslife/public_html/wp-content/plugins/jilt-for-woocommerce/includes/frontend/class-wc-jilt-frontend.php(209): WC_Jilt_Frontend->load_scripts()
    #5 /home/bosslife/publi in /home/bosslife/public_html/wp-content/plugins/jilt-for-woocommerce/includes/class-wc-jilt-session.php on line 44

Viewing 1 replies (of 1 total)
  • Plugin Contributor Jilt

    (@jilt)

    Hi there!
    Sorry to hear our app is giving you trouble! I’m happy to help.

    As a first troubleshooting step, I would like to confirm if the error appears as a result of a conflict with another plugin. Have you had a chance to test this error with only Jilt and WooCommerce active on your site?

    Can you send us an email at help@jilt.com so we can do some deeper troubleshooting here?

    All the best,
    Ryan

Viewing 1 replies (of 1 total)
  • The topic ‘Call to a member function set() on null’ is closed to new replies.