• Resolved Kazam Creative

    (@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)
  • Hi @goldenagemedia,

    Are you using the last release of our plugin? Currently, it’s 3.2.4

    Hi @goldenagemedia,

    Thank you for the report!

    We are aware of the problem. We already added it to our roadmap, and it should be fixed in the next release. A temporary solution should be to uncheck all WooCommerce booking emails in the ‘Attach to’ option.

    We’ll let you know as soon as we publish the fix ??

    Thread Starter Kazam Creative

    (@goldenagemedia)

    Hi Jhonny,

    That’s great news. Thanks very much ??

    Cheers,
    Anthony

    Hi @goldenagemedia,

    We have released a new version PDF Invoices & Packing Slips for WooCommerce 3.2.5 which fixes the issue, can you upgrade?

    Let me know if this works for you.

    Thread Starter Kazam Creative

    (@goldenagemedia)

    Hi Jhonny,

    Thank you so much for getting that resolved so quickly! I’ve updated the plugin now but will just have to wait until there is another order to make sure it all works now.

    Thanks again!
    Anthony

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Uncaught Error: Call to a member function get_id() on bool’ is closed to new replies.