Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Contributor alexmigf

    (@alexmigf)

    Hi @rayman68

    Could you please show us a screenshot of the Status tab system requirements? PDF Invoices > Status

    Let us know.

    Thread Starter rayman68

    (@rayman68)

    as requested

    Plugin Contributor alexmigf

    (@alexmigf)

    Are you using a custom PDF template or do you have any custom code snippet injecting data to the PDF?

    Thread Starter rayman68

    (@rayman68)

    No I am not. The preview doesn’t seem to work anymore as well. Just a spinning ball

    Thread Starter rayman68

    (@rayman68)

    We I go to my order I can still generated the PDF invoice and packing slip

    Plugin Contributor Yordan Soares

    (@yordansoares)

    Hi @rayman68,

    Could you check the WooCommerce logs to see if there are errors with the wpo-wcpdf or fatal-errors prefix? If so, please share the logs with us. You’ll find the logs under WooCommerce > Status > Logs.

    See: Where to find error logs.

    Thread Starter rayman68

    (@rayman68)

    2023-11-25T12:25:18+00:00 CRITICAL Uncaught Error: Object of class stdClass could not be converted to string in /home/u15803p11549/domains/winkelteleuk.nl/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Dompdf.php:435 Stack trace: #0 /home/u15803p11549/domains/winkelteleuk.nl/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Dompdf.php(435): mb_convert_encoding(‘<html><body cla…’, ‘UTF-8’, Array) #1 /home/u15803p11549/domains/winkelteleuk.nl/public_html/wp-content/plugins/woo-pdf-invoice-builder/PDFGenerator.php(447): Dompdf\Dompdf->loadHtml(‘<html><body cla…’, Array) #2 /home/u15803p11549/domains/winkelteleuk.nl/public_html/wp-content/plugins/woo-pdf-invoice-builder/PDFGenerator.php(419): RednaoPDFGenerator->render() #3 /home/u15803p11549/domains/winkelteleuk.nl/public_html/wp-content/plugins/woo-pdf-invoice-builder/PDFGenerator.php(279): RednaoPDFGenerator->Generate(true) #4 /home/u15803p11549/domains/winkelteleuk.nl/public_html/wp-content/plugins in /home/u15803p11549/domains/winkelteleuk.nl/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Dompdf.php op de lijn 435

    Plugin Contributor dwpriv

    (@dwpriv)

    We have released a version 3.7.3 of the plugin. Does this issue persist with that update?

    Thread Starter rayman68

    (@rayman68)

    After upgrading still errors:

    2023-11-29T10:19:10+00:00 CRITICAL Uncaught Error: Object of class stdClass could not be converted to string in /home/u15803p11549/domains/winkelteleuk.nl/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Dompdf.php:435 Stack trace: #0 /home/u15803p11549/domains/winkelteleuk.nl/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Dompdf.php(435): mb_convert_encoding(‘<html><body cla…’, ‘UTF-8’, Array) #1 /home/u15803p11549/domains/winkelteleuk.nl/public_html/wp-content/plugins/woo-pdf-invoice-builder/PDFGenerator.php(447): Dompdf\Dompdf->loadHtml(‘<html><body cla…’, Array) #2 /home/u15803p11549/domains/winkelteleuk.nl/public_html/wp-content/plugins/woo-pdf-invoice-builder/PDFGenerator.php(419): RednaoPDFGenerator->render() #3 /home/u15803p11549/domains/winkelteleuk.nl/public_html/wp-content/plugins/woo-pdf-invoice-builder/PDFGenerator.php(279): RednaoPDFGenerator->Generate(true) #4 /home/u15803p11549/domains/winkelteleuk.nl/public_html/wp-content/plugins in /home/u15803p11549/domains/winkelteleuk.nl/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Dompdf.php op de lijn 435 2023-11-29T10:21:56+00:00 CRITICAL Uncaught Error: Object of class stdClass could not be converted to string in /home/u15803p11549/domains/winkelteleuk.nl/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Dompdf.php:435 Stack trace: #0 /home/u15803p11549/domains/winkelteleuk.nl/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Dompdf.php(435): mb_convert_encoding(‘<html><body cla…’, ‘UTF-8’, Array) #1 /home/u15803p11549/domains/winkelteleuk.nl/public_html/wp-content/plugins/woo-pdf-invoice-builder/PDFGenerator.php(447): Dompdf\Dompdf->loadHtml(‘<html><body cla…’, Array) #2 /home/u15803p11549/domains/winkelteleuk.nl/public_html/wp-content/plugins/woo-pdf-invoice-builder/PDFGenerator.php(419): RednaoPDFGenerator->render() #3 /home/u15803p11549/domains/winkelteleuk.nl/public_html/wp-content/plugins/woo-pdf-invoice-builder/PDFGenerator.php(279): RednaoPDFGenerator->Generate(true) #4 /home/u15803p11549/domains/winkelteleuk.nl/public_html/wp-content/plugins in /home/u15803p11549/domains/winkelteleuk.nl/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Dompdf.php op de lijn 435

    Plugin Contributor Yordan Soares

    (@yordansoares)

    Do you have a staging site in which you can perform tests? If so, follow these steps:

    1. Temporarily disable all the plugins, except WooCommerce and PDF Invoices & Packing Slips for WooCommerce.
    2. Try opening a PDF invoice to check if it opens correctly.
    3. If so, activate 1 of the disabled plugins, and open or reload the PDF invoice again, to check if it still opens correctly.
    4. Repeat step 3 with each deactivated plugin, until you find the culprit.

    Keep us posted about what you discovered!

    Thread Starter rayman68

    (@rayman68)

    After upgrading to wordpress version 6.4.1 this problem was solved.

    Plugin Contributor dwpriv

    (@dwpriv)

    Thanks for the update @rayman68. We’ll mark this topic as resolved.

    All the best

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

The topic ‘E_ERROR in Dompdf.php’ is closed to new replies.