Title: Server error after updating plugin
Last modified: November 28, 2024

---

# Server error after updating plugin

 *  Resolved [asafma](https://wordpress.org/support/users/asafma/)
 * (@asafma)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/server-error-after-updating-plugin/)
 * Following update to version 1.5.9 I got this error when server tried to create
   new refund:
 * Uncaught Error: Call to undefined method Automattic\WooCommerce\Admin\Overrides\
   OrderRefund::get_customer_id() in /var/www/[hahishook.com/wp-content/plugins/woo-wallet/includes/class-woo-wallet-cashback.php:76](http://hahishook.com/wp-content/plugins/woo-wallet/includes/class-woo-wallet-cashback.php:76)
   Stack trace: #0 /var/www/[hahishook.com/wp-content/plugins/woo-wallet/includes/class-woo-wallet-ajax.php(193)](http://hahishook.com/wp-content/plugins/woo-wallet/includes/class-woo-wallet-ajax.php(193)):
   Woo_Wallet_Cashback::calculate_cashback() #1 /var/www/[hahishook.com/wp-includes/class-wp-hook.php(324)](http://hahishook.com/wp-includes/class-wp-hook.php(324)):
   Woo_Wallet_Ajax->recalculate_order_cashback_after_calculate_totals() #2 /var/
   www/[hahishook.com/wp-includes/class-wp-hook.php(348)](http://hahishook.com/wp-includes/class-wp-hook.php(348)):
   WP_Hook->apply_filters() #3 /var/www/[hahishook.com/wp-includes/plugin.php(517)](http://hahishook.com/wp-includes/plugin.php(517)):
   WP_Hook->do_action() #4 /var/www/[hahishook.com/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(1967)](http://hahishook.com/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(1967)):
   do_action() #5 /var/www/[hahishook.com/wp-content/plugins/woocommerce/includes/wc-order-functions.php(626)](http://hahishook.com/wp-content/plugins/woocommerce/includes/wc-order-functions.php(626)):
   WC_Abstract_Order->calculate_totals() #6 /var/www/[hahishook.com/wp-includes/hahishook/admin.php(2366)](http://hahishook.com/wp-includes/hahishook/admin.php(2366)):
   wc_create_refund() #7 /var/www/[hahishook.com/wp-includes/class-wp-hook.php(324)](http://hahishook.com/wp-includes/class-wp-hook.php(324)):
   close_with_missing_handler() #8 /var/www/[hahishook.com/wp-includes/class-wp-hook.php(348)](http://hahishook.com/wp-includes/class-wp-hook.php(348)):
   WP_Hook->apply_filters() #9 /var/www/[hahishook.com/wp-includes/plugin.php(517)](http://hahishook.com/wp-includes/plugin.php(517)):
   WP_Hook->do_action() #10 /var/www/[hahishook.com/wp-admin/admin-ajax.php(192)](http://hahishook.com/wp-admin/admin-ajax.php(192)):
   do_action() #11 {main} thrown

The topic ‘Server error after updating plugin’ is closed to new replies.

 * ![](https://ps.w.org/woo-wallet/assets/icon-256x256.png?rev=3360666)
 * [Wallet for WooCommerce](https://wordpress.org/plugins/woo-wallet/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-wallet/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-wallet/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-wallet/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-wallet/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-wallet/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [asafma](https://wordpress.org/support/users/asafma/)
 * Last activity: [1 year, 6 months ago](https://wordpress.org/support/topic/server-error-after-updating-plugin/)
 * Status: resolved