Mobile App Refresh Campaign [Banner] 2024

Gravity Forms Product Add-ons

Powerful product add-ons, Gravity style

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

spotdesignbv

Current Status

Open

Last updated: December 14, 2023

0 comments

Log in to comment on this feature request.