Theme4Press › Forums › evolve › Undefined variable › Reply To: Undefined variable
#18699
|
Hi,
Open up that file. evolve-plus\evolve-plus\library\woo-config.php and go to line 1173, find the following codes.
$thumbnail = apply_filters( 'woocommerce_cart_item_thumbnail', $_product->get_image(), $cart_item, $cart_item_key );
and replace with the following codes.
$thumbnail = apply_filters( 'woocommerce_cart_item_thumbnail', $_product->get_image(), @$cart_item, $cart_item_key );
All you can turn off your PHP notice reporting on your server.
Thanks!
Denzel