This is the error that WordPress automatically catches and sends via email:
Error Details
=============
An error of type E_ERROR was caused in line 54 of the file /var/www/html/wp-content/plugins/woo-wallet-withdrawal/includes/class-woo-wallet-withdrawal-payment-gateways.php. Error message: Uncaught Error: Call to undefined function get_woocommerce_currency() in /var/www/html/wp-content/plugins/woo-wallet-withdrawal/includes/class-woo-wallet-withdrawal-payment-gateways.php:54
Stack trace:
#0 /var/www/html/wp-content/plugins/woo-wallet-withdrawal/includes/class-woo-wallet-withdrawal-payment-gateways.php(45): WOO_Wallet_Withdrawal_Payment_gateways->init()
#1 /var/www/html/wp-content/plugins/woo-wallet-withdrawal/includes/class-woo-wallet-withdrawal-payment-gateways.php(34): WOO_Wallet_Withdrawal_Payment_gateways->__construct()
#2 /var/www/html/wp-content/plugins/woo-wallet-withdrawal/includes/class-woo-wallet-withdrawal.php(159): WOO_Wallet_Withdrawal_Payment_gateways::instance()
#3 /var/www/html/wp-includes/class-wp-hook.php(287): WOO_WALLET_WITHDRAWAL->init(”)
#4 /var/www/html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
#5 /var/www/html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#6 /var/www/html/wp-settings.php(546): do_action(‘init’)
#7 /var/www/html/wp-
How can we fix this as it’s preventing us from updating our WordPress. 🙁