Non-numeric value
-
Hello – We are seeing the following in the error.log
`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 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:
- The topic ‘Non-numeric value’ is closed to new replies.