Support » Plugin: WooCommerce PDF Invoices & Packing Slips » Undefined variable: custom_field in abstract-wcpdf-order-document-methods.php

  • Hi,
    the plugin works great. My only concern is about a PHP notice: Undefined variable: custom_field, generated each time a new pdf is created:

    PHP Notice: Undefined variable: custom_field in /web/htdocs/www.comilux.it/home/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/includes/documents/abstract-wcpdf-order-document-methods.php on line 193

    14 of these notices are added to the log each time a new pdf is generated.
    Any idea on how to fix it?

Viewing 1 replies (of 1 total)
  • Plugin Contributor kluver

    (@kluver)

    Hi @luigigallo,

    This problem occurs when non-meta is being called. A fix for this will be implemented in the next update. For now can you tell me what kind of custom fields you are trying to print on the documents? Maybe we can create a temporary work-around.

Viewing 1 replies (of 1 total)
  • The topic ‘Undefined variable: custom_field in abstract-wcpdf-order-document-methods.php’ is closed to new replies.