• Resolved pjlam

    (@pjlam)


    Hello – We are seeing the following in the error.log

    2021-04-11_18-04-23.png

    `2021/04/11 09:08:50 [error] 84298#84298: *538509 FastCGI sent in stderr: “PHP message: PHP Warning: A non-numeric value encountered in public/wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-payment-request.php on line 1004” while reading response header from upstream, client: 113.252.96.234, server: ola.tech, request: “POST /zh-hk/?wc-ajax=wc_stripe_get_selected_product_data HTTP/1.0”, upstream: “fastcgi://unix:/var/run/php7.4-fpm-olatech.sock:”

    Also when we issued a refund via Stripe we saw the following:
    2021-04-11_18-04-34.png

    2021/04/11 09:46:49 [error] 84298#84298: *542103 FastCGI sent in stderr: "PHP message: payment_method was called incorrectly. Order properties should not be accessed directly. Backtrace: do_action('wp_ajax_woocommerce_refund_line_items'), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::refund_line_items, wc_create_refund, do_action('woocommerce_order_fully_refunded'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Emails::send_transactional_email, do_action_ref_array('woocommerce_order_fully_refunded_notification'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Email_Customer_Refunded_Order->trigger_full, WC_Email_Customer_Refunded_Order->trigger, WC_Email->get_content, WC_Email_Customer_Refunded_Order->get_content_html, wc_get_template_html, wc_get_template, include('/plugins/kadence-woocommerce-email-designer/templates/woo/emails/customer-refunded-order.php'), do_action('woocommerce_email_order_details'), WP_Hook->do_action, WP_Hook->apply_filters, WC_Emails->order_details, wc_get_template, include('/plugins/kadence-woocommerce-email-designer/templates/woo/email" while reading response header from upstream, client: 116.48.68.140, server: ola.tech, request: "POST /wp-admin/admin-ajax.php?_fs_blog_admin=true HTTP/1.0", upstream: "fastcgi://unix:/var/run/php7.4-fpm-olatech.sock:", host: "ola.tech", referrer:

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter pjlam

    (@pjlam)

    I spoke with Kinsta support team and they said it may be related to this issue: https://github.com/woocommerce/woocommerce-gateway-stripe/issues/1065

    BTW our customers’ credit cards are all in Hong Kong

    Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Hey there!

    For your first error, that definitely does look like the issue you sent a link to.

    The good news is that it has a fix that is ready to be sent out in a new release coming up soon.

    With your second issue (about refunds), what seems to be the case with your error message is that there is something in an email template that is calling the incorrect function. The plugin that seems to be at the root of this is : /plugins/kadence-woocommerce-email-designer/templates/woo/email

    I would say to try disabling that customized email template and seeing what happens there.

    Thread Starter pjlam

    (@pjlam)

    Hello – Thank you. Looking forward to the fix.

    I’ve contacted Kadence email designer folks and see if they can help finding out where the issues is: https://www.ads-software.com/support/topic/payment-method-was-called-incorrectly/

    Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    I’m going to mark this thread as resolved, since there’s a fix being release for the first issue, and the second is not with Stripe.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Non-numeric value’ is closed to new replies.