Hi @creatiburon
The image isn’t accessible. Could you please share the error trace here?
Thread Starter
Mariana
(@creatiburon)
Exception: unable to open image ‘file:///home2/hosting144009eu/public_html/rebecagreciano.com/wp-content/uploads/2024/03/Asset-9-1.png’: No such file or directory @ error/blob.c/OpenBlob/3569/home2/hosting144009eu/public_html/rebecagreciano.com/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/lib/Cpdf.php (5724)#0 /home2/hosting144009eu/public_html/rebecagreciano.com/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/lib/Cpdf.php(5724): Imagick->readImage(‘file:///home2/h…’) #1 /home2/hosting144009eu/public_html/rebecagreciano.com/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/lib/Cpdf.php(5867): Dompdf\Cpdf->addImagePngAlpha(‘file:///home2/h…’, 57.442913385827, 784.44708661417, 148.09577374257, 28.346456692913, 6) #2 /home2/hosting144009eu/public_html/rebecagreciano.com/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Adapter/CPDF.php(668): Dompdf\Cpdf->addPngFromFile(‘file:///home2/h…’, 57.442913385827, 784.44708661417, 148.09577374257, 28.346456692913) #3 /home2/hosting144009eu/public_html/rebecagreciano.com/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Renderer/Image.php(63): Dompdf\Adapter\CPDF->image(‘file:///home2/h…’, 57.442913385827, 29.096456692913, 148.09577374257, 28.346456692913, ‘normal’) #4 /home2/hosting144009eu/public_html/rebecagreciano.com/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Renderer.php(305): Dompdf\Renderer\Image->render(Object(Dompdf\FrameDecorator\Image)) #5 /home2/hosting144009eu/public_html/rebecagreciano.com/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Renderer.php(140): Dompdf\Renderer->_render_frame(‘image’, Object(Dompdf\FrameDecorator\Image)) #6 /home2/hosting144009eu/public_html/rebecagreciano.com/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Renderer.php(207): Dompdf\Renderer->render(Object(Dompdf\FrameDecorator\Image)) #7 /home2/hosting144009eu/public_html/rebecagreciano.com/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Renderer.php(207): Dompdf\Renderer->render(Object(Dompdf\FrameDecorator\TableCell)) #8 /home2/hosting144009eu/public_html/rebecagreciano.com/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Renderer.php(207): Dompdf\Renderer->render(Object(Dompdf\FrameDecorator\TableRow)) #9 /home2/hosting144009eu/public_html/rebecagreciano.com/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Renderer.php(207): Dompdf\Renderer->render(Object(Dompdf\FrameDecorator\TableRowGroup)) #10 /home2/hosting144009eu/public_html/rebecagreciano.com/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Renderer.php(207): Dompdf\Renderer->render(Object(Dompdf\FrameDecorator\Table)) #11 /home2/hosting144009eu/public_html/rebecagreciano.com/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/FrameReflower/Page.php(149): Dompdf\Renderer->render(Object(Dompdf\FrameDecorator\Block)) #12 /home2/hosting144009eu/public_html/rebecagreciano.com/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/FrameDecorator/AbstractFrameDecorator.php(905): Dompdf\FrameReflower\Page->reflow(NULL) #13 /home2/hosting144009eu/public_html/rebecagreciano.com/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Dompdf.php(808): Dompdf\FrameDecorator\AbstractFrameDecorator->reflow() #14 /home2/hosting144009eu/public_html/rebecagreciano.com/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/makers/class-pdf-maker.php(54): Dompdf\Dompdf->render() #15 /home2/hosting144009eu/public_html/rebecagreciano.com/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(1027): WPO\WC\PDF_Invoices\Makers\PDF_Maker->output() #16 /home2/hosting144009eu/public_html/rebecagreciano.com/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(1093): WPO\WC\PDF_Invoices\Documents\Order_Document->get_pdf() #17 /home2/hosting144009eu/public_html/rebecagreciano.com/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-main.php(568): WPO\WC\PDF_Invoices\Documents\Order_Document->output_pdf(‘download’) #18 /home2/hosting144009eu/public_html/rebecagreciano.com/wp-includes/class-wp-hook.php(324): WPO\WC\PDF_Invoices\Main->generate_document_ajax(”) #19 /home2/hosting144009eu/public_html/rebecagreciano.com/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #20 /home2/hosting144009eu/public_html/rebecagreciano.com/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #21 /home2/hosting144009eu/public_html/rebecagreciano.com/wp-admin/admin-ajax.php(192): do_action(‘wp_ajax_generat…’)
Can you please enable the “Embed images” setting under PDF Invoices > Advanced and let me know if that works?
Thread Starter
Mariana
(@creatiburon)
Solved! Thanks so much for this amazing support on a free plugin.