• Resolved jorgenmet

    (@jorgenmet)


    Preview error – Error trying to generate document: preg_match_all(): Argument #2 ($subject) must be of type string, array given

    Fatal error: preg_match_all(): Argument #2 ($subject) must be of type string, array given
    /data01/vir4617141/domeenid/www.example.com/htdocs/wp-content/themes/flatsome-child/vendor/dompdf/dompdf/src/FrameReflower/AbstractFrameReflower.php (529) 0 /data01/vir4617141/domeenid/www.example.com/htdocs/wp-content/themes/flatsome-child/vendor/dompdf/dompdf/src/FrameReflower/AbstractFrameReflower.php(529): preg_match_all(‘/(‘[^’]*’)|(\”[…’, Array, NULL, 2) 1 /data01/vir4617141/domeenid/www.example.com/htdocs/wp-content/themes/flatsome-child/vendor/dompdf/dompdf/src/FrameReflower/AbstractFrameReflower.php(557): Dompdf\FrameReflower\AbstractFrameReflower->_parse_quotes() 2 /data01/vir4617141/domeenid/www.example.com/htdocs/wp-content/themes/flatsome-child/vendor/dompdf/dompdf/src/FrameReflower/AbstractFrameReflower.php(687): Dompdf\FrameReflower\AbstractFrameReflower->_parse_content() 3 /data01/vir4617141/domeenid/www.example.com/htdocs/wp-content/themes/flatsome-child/vendor/dompdf/dompdf/src/FrameReflower/AbstractFrameReflower.php(395): Dompdf\FrameReflower\AbstractFrameReflower->_set_content() 4 /data01/vir4617141/domeenid/www.example.com/htdocs/wp-content/themes/flatsome-child/vendor/dompdf/dompdf/src/FrameReflower/AbstractFrameReflower.php(437): Dompdf\FrameReflower\AbstractFrameReflower->get_min_max_child_width() 5 /data01/vir4617141/domeenid/www.example.com/htdocs/wp-content/themes/flatsome-child/vendor/dompdf/dompdf/src/FrameReflower/AbstractFrameReflower.php(458): Dompdf\FrameReflower\AbstractFrameReflower->get_min_max_content_width() 6 /data01/vir4617141/domeenid/www.example.com/htdocs/wp-content/themes/flatsome-child/vendor/dompdf/dompdf/src/FrameDecorator/AbstractFrameDecorator.php(921): Dompdf\FrameReflower\AbstractFrameReflower->get_min_max_width() 7 /data01/vir4617141/domeenid/www.example.com/htdocs/wp-content/themes/flatsome-child/vendor/dompdf/dompdf/src/FrameReflower/AbstractFrameReflower.php(396): Dompdf\FrameDecorator\AbstractFrameDecorator->get_min_max_width() 8 /data01/vir4617141/domeenid/www.example.com/htdocs/wp-content/themes/flatsome-child/vendor/dompdf/dompdf/src/FrameReflower/Block.php(938): Dompdf\FrameReflower\AbstractFrameReflower->get_min_max_child_width() 9 /data01/vir4617141/domeenid/www.example.com/htdocs/wp-content/themes/flatsome-child/vendor/dompdf/dompdf/src/FrameReflower/AbstractFrameReflower.php(458): Dompdf\FrameReflower\Block->get_min_max_content_width() 10 /data01/vir4617141/domeenid/www.example.com/htdocs/wp-content/themes/flatsome-child/vendor/dompdf/dompdf/src/FrameDecorator/AbstractFrameDecorator.php(921): Dompdf\FrameReflower\AbstractFrameReflower->get_min_max_width() 11 /data01/vir4617141/domeenid/www.example.com/htdocs/wp-content/themes/flatsome-child/vendor/dompdf/dompdf/src/FrameReflower/AbstractFrameReflower.php(420): Dompdf\FrameDecorator\AbstractFrameDecorator->get_min_max_width() 12 /data01/vir4617141/domeenid/www.example.com/htdocs/wp-content/themes/flatsome-child/vendor/dompdf/dompdf/src/FrameReflower/TableCell.php(143): Dompdf\FrameReflower\AbstractFrameReflower->get_min_max_child_width() 13 /data01/vir4617141/domeenid/www.example.com/htdocs/wp-content/themes/flatsome-child/vendor/dompdf/dompdf/src/FrameReflower/AbstractFrameReflower.php(458): Dompdf\FrameReflower\TableCell->get_min_max_content_width() 14 /data01/vir4617141/domeenid/www.example.com/htdocs/wp-content/themes/flatsome-child/vendor/dompdf/dompdf/src/FrameDecorator/AbstractFrameDecorator.php(921): Dompdf\FrameReflower\AbstractFrameReflower->get_min_max_width() 15 /data01/vir4617141/domeenid/www.example.com/htdocs/wp-content/themes/flatsome-child/vendor/dompdf/dompdf/src/Cellmap.php(729): Dompdf\FrameDecorator\AbstractFrameDecorator->get_min_max_width() 16 /data01/vir4617141/domeenid/www.example.com/htdocs/wp-content/themes/flatsome-child/vendor/dompdf/dompdf/src/Cellmap.php(604): Dompdf\Cellmap->calculate_column_widths() 17 /data01/vir4617141/domeenid/www.example.com/htdocs/wp-content/themes/flatsome-child/vendor/dompdf/dompdf/src/FrameReflower/Table.php(460): Dompdf\Cellmap->add_frame(Object(Dompdf\FrameDecorator\Table)) 18 /data01/vir4617141/domeenid/www.example.com/htdocs/wp-content/themes/flatsome-child/vendor/dompdf/dompdf/src/FrameReflower/Table.php(331): Dompdf\FrameReflower\Table->get_min_max_width() 19 /data01/vir4617141/domeenid/www.example.com/htdocs/wp-content/themes/flatsome-child/vendor/dompdf/dompdf/src/FrameDecorator/AbstractFrameDecorator.php(913): Dompdf\FrameReflower\Table->reflow(Object(Dompdf\FrameDecorator\Block)) 20 /data01/vir4617141/domeenid/www.example.com/htdocs/wp-content/themes/flatsome-child/vendor/dompdf/dompdf/src/FrameReflower/Block.php(866): Dompdf\FrameDecorator\AbstractFrameDecorator->reflow(Object(Dompdf\FrameDecorator\Block)) 21 /data01/vir4617141/domeenid/www.example.com/htdocs/wp-content/themes/flatsome-child/vendor/dompdf/dompdf/src/FrameDecorator/AbstractFrameDecorator.php(913): Dompdf\FrameReflower\Block->reflow(NULL) 22 /data01/vir4617141/domeenid/www.example.com/htdocs/wp-content/themes/flatsome-child/vendor/dompdf/dompdf/src/FrameReflower/Page.php(142): Dompdf\FrameDecorator\AbstractFrameDecorator->reflow() 23 /data01/vir4617141/domeenid/www.example.com/htdocs/wp-content/themes/flatsome-child/vendor/dompdf/dompdf/src/FrameDecorator/AbstractFrameDecorator.php(913): Dompdf\FrameReflower\Page->reflow(NULL) 24 /data01/vir4617141/domeenid/www.example.com/htdocs/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/vendor/dompdf/dompdf/src/Dompdf.php(808): Dompdf\FrameDecorator\AbstractFrameDecorator->reflow() 25 /data01/vir4617141/domeenid/www.example.com/htdocs/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/makers/class-pdf-maker.php(54): Dompdf\Dompdf->render() 26 /data01/vir4617141/domeenid/www.example.com/htdocs/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document.php(1027): WPO\WC\PDF_Invoices\Makers\PDF_Maker->output() 27 /data01/vir4617141/domeenid/www.example.com/htdocs/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() 28 /data01/vir4617141/domeenid/www.example.com/htdocs/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-main.php(568): WPO\WC\PDF_Invoices\Documents\Order_Document->output_pdf(‘download’) 29 /data01/vir4617141/domeenid/www.example.com/htdocs/wp-includes/class-wp-hook.php(324): WPO\WC\PDF_Invoices\Main->generate_document_ajax(”) 30 /data01/vir4617141/domeenid/www.example.com/htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) 31 /data01/vir4617141/domeenid/www.example.com/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 32 /data01/vir4617141/domeenid/www.example.com/htdocs/wp-admin/admin-ajax.php(192): do_action(‘wp_ajax_generat…’) 33 {main}

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.