Title: Fatal error
Last modified: September 1, 2016

---

# Fatal error

 *  Resolved [fabsworld](https://wordpress.org/support/users/fabsworld/)
 * (@fabsworld)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-2243/)
 * Hello,
 * When i try to checkout I get this message
 * Fatal error: Call to undefined method WC_Order::get_status() in /home/fabsworl/
   domains/fabsworld.nl/public_html/wp-content/plugins/pronamic-ideal/vendor/wp-
   pay-extensions/woocommerce/src/Gateway.php on line 213
 * When I look on line 213 I get this:
    if ( $new_status_slug === $order->get_status()
   || isset( $order->wc_deposits_remaining ) ) {
 * Please help me, I dont know how to solve it
 * [https://wordpress.org/plugins/pronamic-ideal/](https://wordpress.org/plugins/pronamic-ideal/)

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

 *  Plugin Author [Reüel](https://wordpress.org/support/users/pronamic_reuel/)
 * (@pronamic_reuel)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-2243/#post-7647857)
 * Which version of WooCommerce do you use?
 *  Thread Starter [fabsworld](https://wordpress.org/support/users/fabsworld/)
 * (@fabsworld)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-2243/#post-7647870)
 * 2.1.9
 *  Plugin Author [Reüel](https://wordpress.org/support/users/pronamic_reuel/)
 * (@pronamic_reuel)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-2243/#post-7647871)
 * The latest version of WooCommerce is 2.6.4 (see [https://wordpress.org/plugins/woocommerce/](https://wordpress.org/plugins/woocommerce/)).
   4.5.3 is the version number of WordPress.
 * Please see the Plugins page in your WordPress dashboard to find the version number
   of WooCommerce.
 *  Thread Starter [fabsworld](https://wordpress.org/support/users/fabsworld/)
 * (@fabsworld)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-2243/#post-7647874)
 * Yes I know, our WooCommerce version is 2.1.9
 *  Plugin Author [Reüel](https://wordpress.org/support/users/pronamic_reuel/)
 * (@pronamic_reuel)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-2243/#post-7647893)
 * I see you’ve updated your post with the correct version number 🙂 WooCommerce
   2.1.9 is outdated (released in May 2014), but you can restore compatibility fairly
   easy by changing the mentioned line 213 in the file `/wp-content/plugins/pronamic-
   ideal/vendor/wp-pay-extensions/src/Gateway.php`.
 * Replace the current line:
 *     ```
       if ( $new_status_slug === $order->get_status() || isset( $order->wc_deposits_remaining ) ) {
       ```
   
 * with:
 *     ```
       if ( method_exists( $this->order, 'get_status' ) ) {
       	$order_status = $order->get_status();
       } else {
       	$order_status = $order->status;
       }
   
       if ( $new_status_slug === $order_status || isset( $order->wc_deposits_remaining ) ) {
       ```
   
 * We’ll add this fix to restore compatibility with older versions of WooCommerce
   in the next update of Pronamic iDEAL too.
 *  Thread Starter [fabsworld](https://wordpress.org/support/users/fabsworld/)
 * (@fabsworld)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-2243/#post-7647913)
 * Thankyou very much!! It worked ! 😀
 *  Plugin Author [Reüel](https://wordpress.org/support/users/pronamic_reuel/)
 * (@pronamic_reuel)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-2243/#post-7647914)
 * You’re welcome, glad it’s working!

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

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

 * ![](https://ps.w.org/pronamic-ideal/assets/icon.svg?rev=3062720)
 * [Pronamic Pay](https://wordpress.org/plugins/pronamic-ideal/)
 * [Support Threads](https://wordpress.org/support/plugin/pronamic-ideal/)
 * [Active Topics](https://wordpress.org/support/plugin/pronamic-ideal/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pronamic-ideal/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pronamic-ideal/reviews/)

## Tags

 * [ideal](https://wordpress.org/support/topic-tag/ideal/)
 * [Pronamic](https://wordpress.org/support/topic-tag/pronamic/)

 * 7 replies
 * 2 participants
 * Last reply from: [Reüel](https://wordpress.org/support/users/pronamic_reuel/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/fatal-error-2243/#post-7647914)
 * Status: resolved