Support » Plugin: PDF Invoices & Packing Slips for WooCommerce » Uncaught Error: Call to a member function get_id() on bool

  • Resolved Golden Age Media

    (@goldenagemedia)


    Hi team,

    Is it possible to get some help with this error that keeps getting generated?

    
    Error Details
    =============
    An error of type E_ERROR was caused in line 90 of the file /home/eastendw/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-main.php. Error message: Uncaught Error: Call to a member function get_id() on bool in /home/eastendw/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-main.php:90
    Stack trace:
    #0 /home/eastendw/public_html/wp-includes/class-wp-hook.php(308): WPO\WC\PDF_Invoices\Main->attach_pdf_to_email(Array, 'booking_confirm...', false, Object(WC_Email_Booking_Confirmed))
    #1 /home/eastendw/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
    #2 /home/eastendw/public_html/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(463): apply_filters('woocommerce_ema...', Array, 'booking_confirm...', Object(WC_Booking), Object(WC_Email_Booking_Confirmed))
    #3 /home/eastendw/public_html/wp-content/plugins/woocommerce-bookings/includes/emails/class-wc-email-booking-confirmed.php(106): WC_Email->get_attachments()
    #4 /home/eastendw/public_html/wp-includes/class-wp-hook.php(310): WC_Email_Booking_Confirmed->trigger(1317)
    #5 /home/eastendw/public_html/wp-includes/class-wp-hook.php(332

    It doesn’t appear when used with other websites, but this one uses the Woocommerce Bookings plugin and that’s the only instance where the error is generated.

    I can send a status report from Woocommerce if that helps.

    Cheers,
    Anthony

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.