• mhd8899

    (@mhd8899)


    I would like to report a compatibility issue I encountered while using the Woo Wallet plugin with PHP version 8.1. After updating my server to PHP 8.1, I noticed that the plugin no longer functions properly and causes several errors on my website.

    Please let me know if there is a plan to release an update to make the plugin compatible with PHP 8.1, or if there are any workarounds in the meantime.

    Thank you for your support and looking forward to your response.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Subrata Mal

    (@subratamal)

    @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.

    Thread Starter mhd8899

    (@mhd8899)

    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

    Plugin Author Subrata Mal

    (@subratamal)

    @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.

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

The topic ‘Compatibility Issue with PHP 8.1’ is closed to new replies.