baselbers / woocommerce-pdf-invoices

Automatically generate and attach customizable PDF Invoices to WooCommerce emails and connect with Dropbox, Google Drive, OneDrive or Egnyte.
http://wcpdfinvoices.com
GNU General Public License v3.0
73 stars 40 forks source link

Plugin does not working when turn on debug mode #241

Closed anhducbkhn closed 6 years ago

anhducbkhn commented 6 years ago

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?

baselbers commented 6 years ago

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