• Hi

    Were using version 5.9.2 of this plugin in combination with:
    PDF Invoices & Packing Slips for WooCommerce – E-Docs Network – version 1.4.0
    PDF Invoices & Packing Slips for WooCommerce – Professional – version 2.22.0
    WooCommerce – version 4.5.3

    This plugin is throwing an error:

    [08-Apr-2026 08:42:01 UTC] PHP Fatal error:  Uncaught Error: Call to undefined function WPO\IPS\EDI\woocommerce_register_additional_checkout_field() in /var/web/xxxxxx/releases/123/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/edi/Peppol.php:266
    Stack trace:
    #0 /var/web/xxxxxx/releases/123/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/edi/Peppol.php(49): WPO\IPS\EDI\Peppol->peppol_display_checkout_block_fields()
    #1 /var/web/xxxxxx/releases/123/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/edi/Peppol.php(23): WPO\IPS\EDI\Peppol->__construct()
    #2 /var/web/xxxxxx/releases/123/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/woocommerce-pdf-invoices-packingslips.php(183): WPO\IPS\EDI\Peppol::instance()
    #3 /var/web/xxxxxx/releases/123/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/woocommerce-pdf-invoices-packingslip in /var/web/xxxxxx/releases/123/wp-content/plugins/woocommerce-pdf-invoices-packing-slips/edi/Peppol.php on line 266

    It might be related to this: https://github.com/wpovernight/woocommerce-pdf-invoices-packing-slips/issues/1451

    Can you please have a look at this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor alexmigf

    (@alexmigf)

    Hi @teammonocode

    Sorry about the issue!

    Could you try this version instead?

    Let us know if that fixes the issue.

    Thread Starter teammonocode

    (@teammonocode)

    Hi @alexmigf

    Thank you for sharing the pre-release version with us.

    Unfortunately this version throws the same error.
    We also noticed you’re still working on this issue:
    Commit deb6a3c from yesterday: https://github.com/wpovernight/woocommerce-pdf-invoices-packing-slips/commit/deb6a3ce05d5ed86bd8fbfd4a2847d0f25518159

    Can we suggest something to check?
    We think the issue might be related to the WooCommerce versions you are supporting.
    According to the comment block in the main plugin file, you support WooCommerce 3.3 or newer.

    WC requires at least: 3.3

    We are using WooCommerce version 4.5.3

    It looks like the woocommerce_register_additional_checkout_field function is not yet available in these versions.
    There might be an older related function you could use, we don’t know that.
    If not, you might consider to bump the minimum WooCommerce version for this project.

    Maybe we’re completely wrong, but we thought it is worth checking out.

    Thanks!

    Plugin Contributor alexmigf

    (@alexmigf)

    Hi @teammonocode

    Thank you for the detailed explanation. Could you try this version please?

    Let us know.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.