Title: Non-numeric value
Last modified: April 11, 2021

---

# Non-numeric value

 *  Resolved [pjlam](https://wordpress.org/support/users/pjlam/)
 * (@pjlam)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/non-numeric-value-6/)
 * Hello – We are seeing the following in the error.log
 * [⌊2021-04-11_18-04-23.png⌉⌊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⌉](https://www.screencast.com/t/pZiwEqEHm4EJ)
 * `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](https://wordpress.org/support/users/pjlam/)
 * (@pjlam)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/non-numeric-value-6/#post-14304278)
 * 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](https://github.com/woocommerce/woocommerce-gateway-stripe/issues/1065)
 * BTW our customers’ credit cards are all in Hong Kong
 *  Plugin Support [slash1andy](https://wordpress.org/support/users/slash1andy/)
 * (@slash1andy)
 * Automattic Happiness Engineer
 * [5 years, 1 month ago](https://wordpress.org/support/topic/non-numeric-value-6/#post-14309167)
 * 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](https://wordpress.org/support/users/pjlam/)
 * (@pjlam)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/non-numeric-value-6/#post-14312875)
 * 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://wordpress.org/support/topic/payment-method-was-called-incorrectly/](https://wordpress.org/support/topic/payment-method-was-called-incorrectly/)
 *  Plugin Support [slash1andy](https://wordpress.org/support/users/slash1andy/)
 * (@slash1andy)
 * Automattic Happiness Engineer
 * [5 years, 1 month ago](https://wordpress.org/support/topic/non-numeric-value-6/#post-14313729)
 * 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.

 * ![](https://ps.w.org/woocommerce-gateway-stripe/assets/icon-256x256.png?rev=3177277)
 * [WooCommerce Stripe Payment Gateway](https://wordpress.org/plugins/woocommerce-gateway-stripe/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-gateway-stripe/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [slash1andy](https://wordpress.org/support/users/slash1andy/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/non-numeric-value-6/#post-14313729)
 * Status: resolved