Unable to set format issue
-
Hello, I am getting the following error once I clicked the pdf invoice generation action button. I have been using this extension for many years and this is the first time I have seen this error. I will be happy if you can help me to solve the issue.
Please see the video here: https://www.loom.com/share/a407798cb47446a3a953ebb279b8ce86
Exception: Unable to set format/home/teashopc/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/lib/Cpdf.php (5723)#0 /home/teashopc/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/lib/Cpdf.php(5723): Imagick->setFormat(‘PNG’) #1 /home/teashopc/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/lib/Cpdf.php(5867): Dompdf\Cpdf->addImagePngAlpha(‘file:///home/te…’, 57.442913385827, 663.69094488189, 99.212598425197, 99.212598425197, 6) #2 /home/teashopc/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Adapter/CPDF.php(668): Dompdf\Cpdf->addPngFromFile(‘file:///home/te…’, 57.442913385827, 663.69094488189, 99.212598425197, 99.212598425197) #3 /home/teashopc/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Renderer/Image.php(63): Dompdf\Adapter\CPDF->image(‘file:///home/te…’, 57.442913385827, 29.096456692913, 99.212598425197, 99.212598425197, ‘normal’) #4 /home/teashopc/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Renderer.php(305): Dompdf\Renderer\Image->render(Object(Dompdf\FrameDecorator\Image)) #5 /home/teashopc/public_html/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 /home/teashopc/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Renderer.php(207): Dompdf\Renderer->render(Object(Dompdf\FrameDecorator\Image)) #7 /home/teashopc/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Renderer.php(207): Dompdf\Renderer->render(Object(Dompdf\FrameDecorator\TableCell)) #8 /home/teashopc/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Renderer.php(207): Dompdf\Renderer->render(Object(Dompdf\FrameDecorator\TableRow)) #9 /home/teashopc/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Renderer.php(207): Dompdf\Renderer->render(Object(Dompdf\FrameDecorator\TableRowGroup)) #10 /home/teashopc/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Renderer.php(207): Dompdf\Renderer->render(Object(Dompdf\FrameDecorator\Table)) #11 /home/teashopc/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/FrameReflower/Page.php(149): Dompdf\Renderer->render(Object(Dompdf\FrameDecorator\Block)) #12 /home/teashopc/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/FrameDecorator/AbstractFrameDecorator.php(905): Dompdf\FrameReflower\Page->reflow(NULL) #13 /home/teashopc/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Dompdf.php(808): Dompdf\FrameDecorator\AbstractFrameDecorator->reflow() #14 /home/teashopc/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/makers/class-pdf-maker.php(54): Dompdf\Dompdf->render() #15 /home/teashopc/public_html/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 /home/teashopc/public_html/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 /home/teashopc/public_html/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-main.php(568): WPO\WC\PDF_Invoices\Documents\Order_Document->output_pdf(‘inline’) #18 /home/teashopc/public_html/wp-includes/class-wp-hook.php(324): WPO\WC\PDF_Invoices\Main->generate_document_ajax(”) #19 /home/teashopc/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #20 /home/teashopc/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #21 /home/teashopc/public_html/wp-admin/admin-ajax.php(192): do_action(‘wp_ajax_generat…’) #22 {main}
- The topic ‘Unable to set format issue’ is closed to new replies.