Call to a member function get_type() on null
-
Hi,
Found a bug. Call to
$strThumbnail = apply_filters( 'woocommerce_cart_item_thumbnail', $product->get_image( 'full', array( 'class' => 'block package checkout' ) ), $item, $item_id );
leads to a
CRITICAL Uncaught Error: Call to a member function get_type() on null in /var/www/vhosts/www.pre.ex-nihilo-paris.com/wp-content/plugins/giftable-for-woocommerce/includes/DGFW.php:530
in Version 1.0.4Complete error:
2019-08-16T13:16:21+00:00 CRITICAL Uncaught Error: Call to a member function get_type() on null in /var/www/vhosts/www.pre/wp-content/plugins/giftable-for-woocommerce/includes/DGFW.php:530 Stack trace: #0 /var/www/vhosts/www.pre/wp-content/plugins/giftable-for-woocommerce/public/Public.php(488): DGFW->is_gift(NULL) #1 /var/www/vhosts/www.pre/wp-includes/class-wp-hook.php(286): DGFW_Public->gift_cart_thumbnail('<img width="560...', Object(WC_Order_Item_Product), 252) #2 /var/www/vhosts/www.pre/wp-includes/plugin.php(203): WP_Hook->apply_filters('<img width="560...', Array) #3 /var/www/vhosts/www.pre/wp-content/themes/my-custom-theme/woocommerce/order/order-details-item.php(36): apply_filters('woocommerce_car...', '<img width="560...', Object(WC_Order_Item_Product), 252) #4 /var/www/vhosts/www.pre/wp-content/plugins/woocommerce/includes/wc-core-functions.php(211): include('/var/www/vhosts...') #5 /var/www/vhosts/www.pre in /var/www/vhosts/www.pre/wp-content/plugins/giftable-for-woocommerce/includes/DGFW.php on line 530
Thanks.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Call to a member function get_type() on null’ is closed to new replies.