@mhd8899 We check the compatibility with PHP 8.1 and it is working fine. Could you please share the PHP error log related to our plugin with us? so that we can look into it.
hello bro
when i change my php version to 8.1 this error show in log
when back to 7.4 problem fixed
[29-Jun-2025 17:16:24 UTC] PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "_return_false" not found or invalid function name in /home2/mydircom/domains/site.com/public_html/wp-includes/class-wp-hook.php:326
Stack trace:
#0 /home2/mydircom/domains/site.com/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters(false, Array)
#1 /home2/mydircom/domains/site.com/public_html/wp-content/plugins/woo-wallet/includes/class-woo-wallet-wallet.php(267): apply_filters('woo_wallet_disa...', false, '73200', '7880700')
#2 /home2/mydircom/domains/site.com/public_html/wp-content/plugins/woo-wallet/includes/class-woo-wallet-wallet.php(92): Woo_Wallet_Wallet->recode_transaction('73200', 'debit', '\xD8\xA8\xD8\xB1\xD8\xA7\xDB\x8C \xD9\xBE\xD8\xB1\xD8\xAF...', Array)
#3 /home2/mydircom/domains/site.com/public_html/wp-content/plugins/woo-wallet/includes/class-woo-wallet-payment-method.php(159): Woo_Wallet_Wallet->debit(3, '73200', '\xD8\xA8\xD8\xB1\xD8\xA7\xDB\x8C \xD9\xBE\xD8\xB1\xD8\xAF...', Array)
#4 /home2/mydircom/domains/site.com/public_html/wp-includes/class-wp-hook.php(326): Woo_Gateway_Wallet_payment->woocommerce_pre_payment_complete(252164)
#5 /home2/mydircom/domains/site.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#6 /home2/mydircom/domains/site.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#7 /home2/mydircom/domains/site.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-order.php(137): do_action('woocommerce_pre...', 252164, '')
#8 /home2/mydircom/domains/site.com/public_html/wp-content/plugins/woo-wallet/includes/class-woo-wallet-payment-method.php(142): WC_Order->payment_complete()
#9 /home2/mydircom/domains/site.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1062): Woo_Gateway_Wallet_payment->process_payment(252164)
#10 /home2/mydircom/domains/site.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-checkout.php(1293): WC_Checkout->process_order_payment(252164, 'wallet')
#11 /home2/mydircom/domains/site.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(520): WC_Checkout->process_checkout()
#12 /home2/mydircom/domains/site.com/public_html/wp-includes/class-wp-hook.php(324): WC_AJAX::checkout('')
#13 /home2/mydircom/domains/site.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#14 /home2/mydircom/domains/site.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#15 /home2/mydircom/domains/site.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-ajax.php(96): do_action('wc_ajax_checkou...')
#16 /home2/mydircom/domains/site.com/public_html/wp-includes/class-wp-hook.php(324): WC_AJAX::do_wc_ajax('')
#17 /home2/mydircom/domains/site.com/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(false, Array)
#18 /home2/mydircom/domains/site.com/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#19 /home2/mydircom/domains/site.com/public_html/wp-includes/template-loader.php(13): do_action('template_redire...')
#20 /home2/mydircom/domains/site.com/public_html/wp-blog-header.php(19): require_once('/home2/mydircom...')
#21 /home2/mydircom/domains/site.com/public_html/index.php(17): require('/home2/mydircom...')
#22 {main}
thrown in /home2/mydircom/domains/site.com/public_html/wp-includes/class-wp-hook.php on line 326
@mhd8899 as per the error log it showing error calling function _return_false and we are not using this function. Please check if you have any custom code related to our plugin.