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
74 stars 41 forks source link

Calling the deprecated function has_meta() #266

Open Mars920 opened 4 years ago

Mars920 commented 4 years ago

We've been getting this error lately

The WC_Order::has_meta( $order_item_id ) function is deprecated since version 3.0. Replace with WC_Order_item::get_meta_data.

I've traced it back to this plugin, specifically, the template file body.php in woocommerce-pdf-invoices/includes/templates/invoice/global/micro

baselbers commented 4 years ago

Thanks @Mars920 We are busy refactoring the micro template at the moment.