Call to a member function set() on null
-
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
- The topic ‘Call to a member function set() on null’ is closed to new replies.