Support » Plugin: WooCommerce PDF Invoices & Packing Slips » Attachments failure in debug mode with WooCommerce 3.x

  • Resolved Kallehauge

    (@kallehauge)


    Hello!

    When trying to attach a PDF on mails with ‘WP_DEBUG’ enabled in WooCommerce 3.x, a notice will be printed and therefor result in incorrect HTML that causes the following error:

    Markup PHP Fatal error:

    Fatal error: Uncaught Error: Call to undefined method DOMText::getAttribute() in /Users/username/Sites/website/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/lib/dompdf/include/cellmap.cls.php:437 Stack trace: #0 /Users/username/Sites/website/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/lib/dompdf/include/cellmap.cls.php(399)

    WooCommerce notice that results in incorrect HTML that will cause the fatal PHP error above:

    Thu Jun 08 23:32:18.833162 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP Notice:  id was called <strong>incorrectly</strong>. Product properties should not be accessed directly. Backtrace: edit_post, wp_update_post, wp_insert_post, do_action('save_post'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Admin_Meta_Boxes->save_meta_boxes, do_action('woocommerce_process_shop_order_meta'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Meta_Box_Order_Data::save, WC_Order->save, WC_Order->status_transition, do_action('woocommerce_order_status_completed'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Emails::send_transactional_email, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, WC_Email_Customer_Completed_Order->trigger, WC_Email->get_attachments, apply_filters('woocommerce_email_attachments'), WP_Hook->apply_filters, call_user_func_array, WooCommerce_PDF_Invoices_Export->attach_pdf_to_email, WooCommerce_PDF_Invoices_Export->get_pdf, WooCommerce_PDF_Invoices_Export->generate_pdf, WooComme in /Users/username/Sites/website/wp-includes/functions.php on line 4138, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833278 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP Stack trace:, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833292 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP   1. {main}() /Users/username/Sites/website/wp-admin/post.php:0, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833303 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP   2. edit_post() /Users/username/Sites/website/wp-admin/post.php:193, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833313 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP   3. wp_update_post() /Users/username/Sites/website/wp-admin/includes/post.php:378, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833322 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP   4. wp_insert_post() /Users/username/Sites/website/wp-includes/post.php:3578, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833331 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP   5. do_action() /Users/username/Sites/website/wp-includes/post.php:3505, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833351 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP   6. WP_Hook->do_action() /Users/username/Sites/website/wp-includes/plugin.php:453, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833362 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP   7. WP_Hook->apply_filters() /Users/username/Sites/website/wp-includes/class-wp-hook.php:323, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833373 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP   8. call_user_func_array:{/Users/username/Sites/website/wp-includes/class-wp-hook.php:300}() /Users/username/Sites/website/wp-includes/class-wp-hook.php:300, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833396 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP   9. WC_Admin_Meta_Boxes->save_meta_boxes() /Users/username/Sites/website/wp-includes/class-wp-hook.php:300, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833407 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  10. do_action() /Users/username/Sites/website/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-meta-boxes.php:218, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833418 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  11. WP_Hook->do_action() /Users/username/Sites/website/wp-includes/plugin.php:453, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833428 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  12. WP_Hook->apply_filters() /Users/username/Sites/website/wp-includes/class-wp-hook.php:323, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833438 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  13. call_user_func_array:{/Users/username/Sites/website/wp-includes/class-wp-hook.php:298}() /Users/username/Sites/website/wp-includes/class-wp-hook.php:298, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833449 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  14. WC_Meta_Box_Order_Data::save() /Users/username/Sites/website/wp-includes/class-wp-hook.php:298, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833459 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  15. WC_Order->save() /Users/username/Sites/website/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-data.php:542, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833469 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  16. WC_Order->status_transition() /Users/username/Sites/website/wp-content/plugins/woocommerce/includes/class-wc-order.php:214, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833479 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  17. do_action() /Users/username/Sites/website/wp-content/plugins/woocommerce/includes/class-wc-order.php:299, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833488 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  18. WP_Hook->do_action() /Users/username/Sites/website/wp-includes/plugin.php:453, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833498 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  19. WP_Hook->apply_filters() /Users/username/Sites/website/wp-includes/class-wp-hook.php:323, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833508 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  20. call_user_func_array:{/Users/username/Sites/website/wp-includes/class-wp-hook.php:298}() /Users/username/Sites/website/wp-includes/class-wp-hook.php:298, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833519 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  21. WC_Emails::send_transactional_email() /Users/username/Sites/website/wp-includes/class-wp-hook.php:298, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833528 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  22. do_action_ref_array() /Users/username/Sites/website/wp-content/plugins/woocommerce/includes/class-wc-emails.php:150, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833544 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  23. WP_Hook->do_action() /Users/username/Sites/website/wp-includes/plugin.php:515, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833553 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  24. WP_Hook->apply_filters() /Users/username/Sites/website/wp-includes/class-wp-hook.php:323, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833563 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  25. call_user_func_array:{/Users/username/Sites/website/wp-includes/class-wp-hook.php:298}() /Users/username/Sites/website/wp-includes/class-wp-hook.php:298, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833574 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  26. WC_Email_Customer_Completed_Order->trigger() /Users/username/Sites/website/wp-includes/class-wp-hook.php:298, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833585 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  27. WC_Email->get_attachments() /Users/username/Sites/website/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-completed-order.php:75, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833595 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  28. apply_filters() /Users/username/Sites/website/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php:296, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833604 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  29. WP_Hook->apply_filters() /Users/username/Sites/website/wp-includes/plugin.php:203, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833611 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  30. call_user_func_array:{/Users/username/Sites/website/wp-includes/class-wp-hook.php:298}() /Users/username/Sites/website/wp-includes/class-wp-hook.php:298, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833622 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  31. WooCommerce_PDF_Invoices_Export->attach_pdf_to_email() /Users/username/Sites/website/wp-includes/class-wp-hook.php:298, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833631 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  32. WooCommerce_PDF_Invoices_Export->get_pdf() /Users/username/Sites/website/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-export.php:627, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833642 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  33. WooCommerce_PDF_Invoices_Export->generate_pdf() /Users/username/Sites/website/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-export.php:410, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833652 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  34. WooCommerce_PDF_Invoices_Export->process_template() /Users/username/Sites/website/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-export.php:383, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833661 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  35. WooCommerce_PDF_Invoices_Export->get_template() /Users/username/Sites/website/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-export.php:294, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833676 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  36. include() /Users/username/Sites/website/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-export.php:871, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833685 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  37. WooCommerce_PDF_Invoices->get_order_items() /Users/username/Sites/website/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/templates/pdf/Simple/invoice.php:90, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833695 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  38. WooCommerce_PDF_Invoices_Functions->get_order_items() /Users/username/Sites/website/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/woocommerce-pdf-invoices-packingslips.php:450, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833705 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  39. WooCommerce_PDF_Invoices_Export->get_order_items() /Users/username/Sites/website/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-functions.php:442, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833715 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  40. WooCommerce_PDF_Invoices_Export->get_thumbnail() /Users/username/Sites/website/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-export.php:949, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833725 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  41. WooCommerce_PDF_Invoices_Export->get_thumbnail_id() /Users/username/Sites/website/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-export.php:1180, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833734 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  42. WPO\\WC\\PDF_Invoices\\Compatibility\\Product::get_id() /Users/username/Sites/website/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-export.php:1141, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833745 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  43. WC_Abstract_Legacy_Product->__get() /Users/username/Sites/website/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-export.php:47, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833753 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  44. wc_doing_it_wrong() /Users/username/Sites/website/wp-content/plugins/woocommerce/includes/legacy/abstract-wc-legacy-product.php:72, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833762 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  45. _doing_it_wrong() /Users/username/Sites/website/wp-content/plugins/woocommerce/includes/wc-deprecated-functions.php:68, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:18.833770 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  46. trigger_error() /Users/username/Sites/website/wp-includes/functions.php:4138, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.326069 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP Fatal error:  Call to undefined method DOMText::getAttribute() in /Users/username/Sites/website/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/lib/dompdf/include/cellmap.cls.php on line 437, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.326189 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP Stack trace:, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.326203 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP   1. {main}() /Users/username/Sites/website/wp-admin/post.php:0, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.326213 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP   2. edit_post() /Users/username/Sites/website/wp-admin/post.php:193, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.326221 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP   3. wp_update_post() /Users/username/Sites/website/wp-admin/includes/post.php:378, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.326230 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP   4. wp_insert_post() /Users/username/Sites/website/wp-includes/post.php:3578, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.326238 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP   5. do_action() /Users/username/Sites/website/wp-includes/post.php:3505, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.326247 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP   6. WP_Hook->do_action() /Users/username/Sites/website/wp-includes/plugin.php:453, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.326256 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP   7. WP_Hook->apply_filters() /Users/username/Sites/website/wp-includes/class-wp-hook.php:323, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.326267 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP   8. call_user_func_array:{/Users/username/Sites/website/wp-includes/class-wp-hook.php:300}() /Users/username/Sites/website/wp-includes/class-wp-hook.php:300, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.326277 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP   9. WC_Admin_Meta_Boxes->save_meta_boxes() /Users/username/Sites/website/wp-includes/class-wp-hook.php:300, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.326285 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  10. do_action() /Users/username/Sites/website/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-meta-boxes.php:218, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.326294 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  11. WP_Hook->do_action() /Users/username/Sites/website/wp-includes/plugin.php:453, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.326302 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  12. WP_Hook->apply_filters() /Users/username/Sites/website/wp-includes/class-wp-hook.php:323, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.326311 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  13. call_user_func_array:{/Users/username/Sites/website/wp-includes/class-wp-hook.php:298}() /Users/username/Sites/website/wp-includes/class-wp-hook.php:298, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.326321 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  14. WC_Meta_Box_Order_Data::save() /Users/username/Sites/website/wp-includes/class-wp-hook.php:298, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.326330 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  15. WC_Order->save() /Users/username/Sites/website/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-data.php:542, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.326887 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  16. WC_Order->status_transition() /Users/username/Sites/website/wp-content/plugins/woocommerce/includes/class-wc-order.php:214, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.326924 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  17. do_action() /Users/username/Sites/website/wp-content/plugins/woocommerce/includes/class-wc-order.php:299, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.326943 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  18. WP_Hook->do_action() /Users/username/Sites/website/wp-includes/plugin.php:453, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.327262 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  19. WP_Hook->apply_filters() /Users/username/Sites/website/wp-includes/class-wp-hook.php:323, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.327283 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  20. call_user_func_array:{/Users/username/Sites/website/wp-includes/class-wp-hook.php:298}() /Users/username/Sites/website/wp-includes/class-wp-hook.php:298, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.327295 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  21. WC_Emails::send_transactional_email() /Users/username/Sites/website/wp-includes/class-wp-hook.php:298, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.327305 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  22. do_action_ref_array() /Users/username/Sites/website/wp-content/plugins/woocommerce/includes/class-wc-emails.php:150, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.327482 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  23. WP_Hook->do_action() /Users/username/Sites/website/wp-includes/plugin.php:515, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.327500 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  24. WP_Hook->apply_filters() /Users/username/Sites/website/wp-includes/class-wp-hook.php:323, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.327511 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  25. call_user_func_array:{/Users/username/Sites/website/wp-includes/class-wp-hook.php:298}() /Users/username/Sites/website/wp-includes/class-wp-hook.php:298, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.327521 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  26. WC_Email_Customer_Completed_Order->trigger() /Users/username/Sites/website/wp-includes/class-wp-hook.php:298, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.327530 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  27. WC_Email->get_attachments() /Users/username/Sites/website/wp-content/plugins/woocommerce/includes/emails/class-wc-email-customer-completed-order.php:75, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.327740 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  28. apply_filters() /Users/username/Sites/website/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php:296, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.327793 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  29. WP_Hook->apply_filters() /Users/username/Sites/website/wp-includes/plugin.php:203, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.327811 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  30. call_user_func_array:{/Users/username/Sites/website/wp-includes/class-wp-hook.php:298}() /Users/username/Sites/website/wp-includes/class-wp-hook.php:298, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.327843 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  31. WooCommerce_PDF_Invoices_Export->attach_pdf_to_email() /Users/username/Sites/website/wp-includes/class-wp-hook.php:298, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.327941 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  32. WooCommerce_PDF_Invoices_Export->get_pdf() /Users/username/Sites/website/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-export.php:627, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.327979 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  33. WooCommerce_PDF_Invoices_Export->generate_pdf() /Users/username/Sites/website/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-export.php:410, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.328030 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  34. DOMPDF->render() /Users/username/Sites/website/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/class-wcpdf-export.php:387, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.328130 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  35. Frame_Decorator->reflow() /Users/username/Sites/website/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/lib/dompdf/include/dompdf.cls.php:949, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.328204 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  36. Page_Frame_Reflower->reflow() /Users/username/Sites/website/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/lib/dompdf/include/frame_decorator.cls.php:711, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.328274 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  37. Frame_Decorator->reflow() /Users/username/Sites/website/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/lib/dompdf/include/page_frame_reflower.cls.php:123, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.328349 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  38. Block_Frame_Reflower->reflow() /Users/username/Sites/website/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/lib/dompdf/include/frame_decorator.cls.php:711, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.328398 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  39. Frame_Decorator->reflow() /Users/username/Sites/website/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/lib/dompdf/include/block_frame_reflower.cls.php:750, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.328429 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  40. Table_Frame_Reflower->reflow() /Users/username/Sites/website/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/lib/dompdf/include/frame_decorator.cls.php:711, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.328503 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  41. Table_Frame_Reflower->get_min_max_width() /Users/username/Sites/website/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/lib/dompdf/include/table_frame_reflower.cls.php:398, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.328601 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  42. Cellmap->add_frame() /Users/username/Sites/website/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/lib/dompdf/include/table_frame_reflower.cls.php:520, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.328686 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  43. Cellmap->add_frame() /Users/username/Sites/website/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/lib/dompdf/include/cellmap.cls.php:399, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
    [Thu Jun 08 23:32:20.328705 2017] [:error] [pid 97752] [client 127.0.0.1:63123] PHP  44. Cellmap->add_frame() /Users/username/Sites/website/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/lib/dompdf/include/cellmap.cls.php:399, referer: http://website.dev/wp-admin/post.php?post=137179&action=edit
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Attachments failure in debug mode with WooCommerce 3.x’ is closed to new replies.