• rbrynest

    (@rbrynest)


    Got this Error message in the WordPress backend when I tried to click on the?Set up?button next to the BitPay Payment methods:

    Uncaught TypeError: strtoupper(): Argument #1 ($string) must be of type string, null given in /var/www/norskmynthandel.no/htdocs/wp-content/plugins/bitpay-checkout-for-woocommerce/build/BitPayLib/class-bitpaypaymentsettings.php:91
    Stack trace:
    #0 /var/www/norskmynthandel.no/htdocs/wp-content/plugins/bitpay-checkout-for-woocommerce/build/BitPayLib/class-bitpaypaymentsettings.php(91): strtoupper()
    #1 /var/www/norskmynthandel.no/htdocs/wp-content/plugins/bitpay-checkout-for-woocommerce/build/BitPayLib/class-bitpaypluginsetup.php(64): BitPayVendor\BitPayLib\BitPayPaymentSettings->check_token()
    #2 /var/www/norskmynthandel.no/htdocs/wp-includes/class-wp-hook.php(324): BitPayVendor\BitPayLib\BitPayPluginSetup->bitpay_checkout_check_token()
    #3 /var/www/norskmynthandel.no/htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
    #4 /var/www/norskmynthandel.no/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action()
    #5 /var/www/norskmynthandel.no/htdocs/wp-admin/admin-header.php(303): do_action()
    #6 /var/www/norskmynthandel.no/htdocs/wp-admin/admin.php(239): require_once(‘…’)
    #7 {main}
    thrown

    I’ using WordPress 6.4.1, Bricks 1.9.2, BitPay Checkout for WooCommerce 5.3.1.

    PHP version is 8.1.25

    Could you please look into this error so I can use the plugin?

    Thanks in advance.

    Kind regards
    Rune

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author BitPay

    (@bitpay)

    Thanks for reaching out @rbrynest – could you also share the following?

    • Which version of WooCommerce you’re running
    • Which PHP extensions are installed
    • All other plugins and their versions

    Finally, did you enable the method prior to clicking Finish set up?

    Thanks again!

Viewing 1 replies (of 1 total)
  • The topic ‘Uncaught TypeError’ is closed to new replies.