SupportCategory: Free Product Sample for WooCommerceSite is Experiencing a Technical Issue
Connie Mottshaw asked 3 months ago

Error Details
=============
An error of type E_ERROR was caused in line 82 of the file /home/designe2/naturalanimaltreats.com.au/wp-content/plugins/woo-free-product-sample/includes/class-woo-free-product-sample-helper.php. Error message: Uncaught Error: Call to a member function get_cart() on null in /home/designe2/naturalanimaltreats.com.au/wp-content/plugins/woo-free-product-sample/includes/class-woo-free-product-sample-helper.php:82
Stack trace:
#0 /home/designe2/naturalanimaltreats.com.au/wp-content/plugins/woo-free-product-sample-pro/public/class-woo-free-product-sample-pro-public.php(168): Woo_Free_Product_Sample_Helper::wfps_check_sample_is_in_cart(37)
#1 /home/designe2/naturalanimaltreats.com.au/wp-includes/class-wp-hook.php(292): Woo_Free_Product_Sample_Pro_Public->woo_free_product_sample_button_shop(”)
#2 /home/designe2/naturalanimaltreats.com.au/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(”, Array)
#3 /home/designe2/naturalanimaltreats.com.au/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
#4 /home/designe2/naturalanimaltreats.com.au/wp-content/plugins/woocommerce/templates/content-product.php(65): do_action(‘woocommerce_aft…’)
#5 /home/designe2/naturalanimaltreats.com.au/wp-includes/template.php(732): req