• Resolved Nikki Barlow

    (@nikbarlow)


    Im getting a critical error on the Gift Voucher button, using WooCommerce with YITH Gift Voucher Plugin and WooCommerce Square Payments. YITH tell me its a problem with the Square Plugin, my host say the same, this code looks like they are correct. Any idea how I fix this?

    Navigate to homepage and click Gift Voucher button to see the error.

    I have tried everything, browsers, cache, uninstalling plugins, safe mode, theme changes, reinstalled Square plugin, deleted the product and added a new one. Nothing fixes it

    2023-11-21T11:43:30+00:00 CRITICAL Uncaught TypeError: Unsupported operand types: int * string in /home/suvyigvi/public_html/wp-content/plugins/woocommerce-square/includes/Gateway/Digital_Wallet.php:427
    Stack trace: 0 /home/suvyigvi/public_html/wp-content/plugins/woocommerce-square/includes/Gateway/Digital_Wallet.php(348): WooCommerce\Square\Gateway\Digital_Wallet->get_product_payment_request() 1 /home/suvyigvi/public_html/wp-content/plugins/woocommerce-square/includes/Gateway/Digital_Wallet.php(130): WooCommerce\Square\Gateway\Digital_Wallet->get_payment_request_for_context() 2 /home/suvyigvi/public_html/wp-includes/class-wp-hook.php(324): WooCommerce\Square\Gateway\Digital_Wallet->init() 3 /home/suvyigvi/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() 4 /home/suvyigvi/public_html/wp-includes/plugin.php(565): WP_Hook->do_action() 5 /home/suvyigvi/public_html/wp-includes/class-wp.php(830): do_action_ref_array() 6 /home/suvyigvi/public_html/wp-includes/functions.php(1336): WP->main() 7 /home/suvyigvi/public_html/wp-blog-header.php(16): wp() 8 /home/suvyigvi/public_html/index.php(17): require(‘/home/suvyigvi/…’) 9 {main}

    thrown in /home/suvyigvi/public_html/wp-content/plugins/woocommerce-square/includes/Gateway/Digital_Wallet.php on line 427

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

Viewing 1 replies (of 1 total)
  • Hi @nikbarlow

    From the error message you’ve shared, it seems that the issue is indeed originating from the WooCommerce Square Payments plugin.

    I understand that you’ve already tried reinstalling the Square plugin and the issue persists. I would like to confirm if you’ve verified that all requirements below for the WooCommerce Square plugin are met:

    If so, could you please share a copy of your site’s System Status Report so that we can better understand your site’s current environment?

    • System Status Report: navigate to WooCommerceStatus → select Get system report and then Download for support. This will download a TXT file that has the contents of the SSR to share with us.
Viewing 1 replies (of 1 total)

The topic ‘WooCommerce SQUARE Problem’ is closed to new replies.