Fatal error: Uncaught Error: Call to a member function get_id() on bool in /home/annashad/public_html/wp-content/plugins/woocommerce-pdf-product-vouchers/includes/class-wc-pdf-product-vouchers-cart.php:242 Stack trace: #0 /home/annashad/public_html/wp-includes/class-wp-hook.php(289): WC_PDF_Product_Vouchers_Cart->add_cart_item_voucher_data(Array, 1939, 0) #1 /home/annashad/public_html/wp-includes/plugin.php(206): WP_Hook->apply_filters(Array, Array) #2 /home/annashad/public_html/wp-content/plugins/woocommerce/includes/class-wc-cart.php(1122): apply_filters('woocommerce_add...', Array, 1939, 0, 1) #3 /home/annashad/public_html/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(806): WC_Cart->add_to_cart(1939, 1) #4 /home/annashad/public_html/wp-content/plugins/woocommerce/includes/class-wc-form-handler.php(778): WC_Form_Handler::add_to_cart_handler_simple(1939) #5 /home/annashad/public_html/wp-includes/class-wp-hook.php(287): WC_Form_Handler::add_to_cart_action('') #6 /home/annashad/public_html/wp-includes/c in /home/annashad/public_html/wp-content/plugins/woocommerce-pdf-product-vouchers/includes/class-wc-pdf-product-vouchers-cart.php on line 242