Product Icon

Gravity Forms Product Add-ons for WooCommerce

Turn Gravity Forms into powerful WooCommerce products. Capture custom data, update pricing in real time, and carry every detail through cart, checkout, and orders. Trusted, proven, and the original Gravity Forms integration for WooCommerce.

Bugfix – WooCommerce Order Number

Hi

The plugin generates a PHP Fatal Error when an Order no longer exists and you want to generate a CSV export through the Gravity Forms Export Submissions interface.

The issue is quite obvious, the code wants to retrieve an WC_Order, but there is no statement to catch a failure. This results in the fact that $the_order->get_order_number() will fail when $the_order is not a WC_Order.

File: wp-content/plugins/woocommerce-gravityforms-product-addons/inc/gravityforms-product-addons-export.php
Line: 70

Screenshots

Author

stijn.poot

Current Status

Open

Last updated: December 14, 2023

0 comments

Log in to comment on this feature request.

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.