baselbers / woocommerce-pdf-invoices

Automatically generate and attach customizable PDF Invoices to WooCommerce emails and connect with Dropbox, Google Drive, OneDrive or Egnyte.

Home Page:http://wcpdfinvoices.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Plugin does not working when turn on debug mode

anhducbkhn opened this issue · comments

My environment:
WP version: 4.9.6
WC version: 3.3.5
PHP version: 5.6.36
WooCommerce PDF Invoices: 2.9.12

When I turn on DEBUG mode of WP, this plugin cannot working, this is what I see when I check debug.log file:

[18-Jul-2018 11:44:22 Europe/London] PHP Notice:  outlining_columns_html is <strong>deprecated</strong> since version WooCommerce PDF Invoices v2.8 with no alternative available. in /home/ubuntu/public_web/wp-includes/functions.php on line 3843
[18-Jul-2018 11:44:22 Europe/London] PHP Notice:  get_columns_count is <strong>deprecated</strong> since version WooCommerce PDF Invoices v2.8 with no alternative available. in /home/ubuntu/public_web/wp-includes/functions.php on line 3843
[18-Jul-2018 11:44:22 Europe/London] PHP Notice:  get_colspan is <strong>deprecated</strong> since version WooCommerce PDF Invoices v2.8 with no alternative available. in /home/ubuntu/public_web/wp-includes/functions.php on line 3843
[18-Jul-2018 11:44:22 Europe/London] PHP Notice:  display_purchase_order_number is <strong>deprecated</strong> since version WooCommerce PDF Invoices v2.8! Use WPI()->templater()->get_meta( '_po_number' ) instead. in /home/ubuntu/public_web/wp-includes/functions.php on line 3840
[18-Jul-2018 11:44:22 Europe/London] PHP Notice:  display_vat_number is <strong>deprecated</strong> since version WooCommerce PDF Invoices v2.8! Use WPI()->templater()->get_meta( '_vat_number' ) instead. in /home/ubuntu/public_web/wp-includes/functions.php on line 3840
[18-Jul-2018 11:44:22 Europe/London] PHP Notice:  WC_Order::has_meta( $order_item_id ) is <strong>deprecated</strong> since version 3.0! Use WC_Order_item::get_meta_data instead. in /home/ubuntu/public_web/wp-includes/functions.php on line 3840
[18-Jul-2018 11:44:22 Europe/London] PHP Notice:  get_colspan is <strong>deprecated</strong> since version WooCommerce PDF Invoices v2.8 with no alternative available. in /home/ubuntu/public_web/wp-includes/functions.php on line 3843

Any suggestion to fix this?

You are using micro template which is deprecated. I can advise you to switch to minimal.