Title: fatal error
Last modified: January 13, 2023

---

# fatal error

 *  Resolved [alexliii](https://wordpress.org/support/users/alexliii/)
 * (@alexliii)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-4337/)
 * 2023-01-13T03:30:26+00:00 CRITICAL Uncaught TypeError: Argument 3 passed to Flexible_Checkout_Fields_Order_Metabox::
   save_section_data() must be an instance of WC_Order, instance of Automattic\WooCommerce\
   Admin\Overrides\OrderRefund given, called in /var/www/mysite.com/htdocs/wp-content/
   plugins/flexible-checkout-fields-pro/classes/flexible-checkout-fields-order-metabox.
   php on line 254 and defined in /var/www/mysite.com/htdocs/wp-content/plugins/
   flexible-checkout-fields-pro/classes/flexible-checkout-fields-order-metabox.php:
   225
 * Stack trace:
 * #0 /var/www/mysite.com/htdocs/wp-content/plugins/flexible-checkout-fields-pro/
   classes/flexible-checkout-fields-order-metabox.php(254): Flexible_Checkout_Fields_Order_Metabox-
   >save_section_data()
 * #1 /var/www/mysite.com/htdocs/wp-includes/class-wp-hook.php(310): Flexible_Checkout_Fields_Order_Metabox-
   >save_metabox_data()
 * #2 /var/www/mysite.com/htdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
 * #3 /var/www/mysite.com/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
 * #4 /var/www/lovc in /var/www/mysite.com/htdocs/wp-content/plugins/flexible-checkout-
   fields-pro/classes/flexible-checkout-fields-order-metabox.php on line 225

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

 *  Plugin Support [Tomasz WP Desk](https://wordpress.org/support/users/tomaszwp/)
 * (@tomaszwp)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-4337/#post-16369041)
 * Hello [@alexliii](https://wordpress.org/support/users/alexliii/)
 * Please update the PRO plugin to version 3.5.1. The update includes a fix for 
   a reported bug.
 *  Plugin Support [Tomasz WP Desk](https://wordpress.org/support/users/tomaszwp/)
 * (@tomaszwp)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-4337/#post-16398887)
 * I am marking this topic as resolved as we have not received any new replies.
   
   Please let us know if you need our help again.

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

The topic ‘fatal error’ is closed to new replies.

 * ![](https://ps.w.org/flexible-checkout-fields/assets/icon-256x256.gif?rev=2522628)
 * [Flexible Checkout Fields for WooCommerce - WooCommerce Checkout Manager](https://wordpress.org/plugins/flexible-checkout-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/flexible-checkout-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/flexible-checkout-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/flexible-checkout-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/flexible-checkout-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/flexible-checkout-fields/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Tomasz WP Desk](https://wordpress.org/support/users/tomaszwp/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-4337/#post-16398887)
 * Status: resolved