• Resolved orotec

    (@orotec)


    Since the last update (08/06/2022), the printing of Invoice documents is impossible because of a weglot error :

    Fatal error: Cannot access offset of type string on string
    /home/orotede326/domains/3dsupplies.be/public_html/wp-content/plugins/weglot/src/third/woocommercepdf/class-wcpdf-weglot.php (96)
    #0 /home/orotede326/domains/3dsupplies.be/public_html/wp-includes/class-wp-hook.php(307): WeglotWP\Third\Woocommercepdf\WCPDF_Weglot->translate_invoice_pdf()
    #1 /home/orotede326/domains/3dsupplies.be/public_html/wp-includes/plugin.php(191): WP_Hook->apply_filters()
    #2 /home/orotede326/domains/3dsupplies.be/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-pdf-maker.php(53): apply_filters()
    #3 /home/orotede326/domains/3dsupplies.be/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(752): WPO\WC\PDF_Invoices\PDF_Maker->output()
    #4 /home/orotede326/domains/3dsupplies.be/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(814): WPO\WC\PDF_Invoices\Documents\Order_Document->get_pdf()
    #5 /home/orotede326/domains/3dsupplies.be/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-main.php(376): WPO\WC\PDF_Invoices\Documents\Order_Document->output_pdf()
    #6 /home/orotede326/domains/3dsupplies.be/public_html/wp-includes/class-wp-hook.php(307): WPO\WC\PDF_Invoices\Main->generate_pdf_ajax()
    #7 /home/orotede326/domains/3dsupplies.be/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #8 /home/orotede326/domains/3dsupplies.be/public_html/wp-includes/plugin.php(476): WP_Hook->do_action()
    #9 /home/orotede326/domains/3dsupplies.be/public_html/wp-admin/admin-ajax.php(187): do_action()
    #10 {main}

    I have tried surpressing all other plugins, and only when activating WEGLOT plugin , the error occures

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Errors when translating invoice documents’ is closed to new replies.