• Resolved Erik Molenaar

    (@erikmolenaar)


    Hi,

    I can’t seem to post a topic in your dedicated support forum on your website, so here goes here:

    WP Armour – Honeypot Anti Spam 2.1.11

    WP Armour Extended – Honeypot Anti Spam 1.25

    WooCommerce 8.2.1

    I am getting a PHP warning on Woocommerce checkouts at each /checkout/:

    Warning: Undefined array key "payment_request_type" in /wp-content/plugins/wp-armour-extended/includes/integration/wpae_woocommerce.php on line 10

    Stack Trace:

    1. wpae_woocommerce_extra_checkout_validation(Array(32), WP_Error)
      /wp-includes/class-wp-hook.php:324
    2. WP_Hook->apply_filters(null, Array(2))
      /wp-includes/class-wp-hook.php:348
    3. WP_Hook->do_action(Array(2))
      /wp-includes/plugin.php:517
    4. do_action(‘woocommerce_after_chec…’, Array(32), WP_Error)
      /wp-content/plugins/woocommerce/includes/class-wc-checkout.php:957
    5. WC_Checkout->validate_checkout(Array(32), WP_Error)
      /wp-content/plugins/woocommerce/includes/class-wc-checkout.php:1245
    6. WC_Checkout->process_checkout()
      /wp-content/plugins/woocommerce/includes/class-wc-ajax.php:508
    7. WC_AJAX::checkout(”)
      /wp-includes/class-wp-hook.php:324
    8. WP_Hook->apply_filters(”, Array(1))
      /wp-includes/class-wp-hook.php:348
    9. WP_Hook->do_action(Array(1))
      /wp-includes/plugin.php:517
    10. do_action(‘wc_ajax_checkout’)
      /wp-content/plugins/woocommerce/includes/class-wc-ajax.php:96
    11. WC_AJAX::do_wc_ajax(”)
      /wp-includes/class-wp-hook.php:324
    12. WP_Hook->apply_filters(false, Array(1))
      /wp-includes/class-wp-hook.php:348
    13. WP_Hook->do_action(Array(1))
      /wp-includes/plugin.php:517
    14. do_action(‘template_redirect’)
      /wp-includes/template-loader.php:13
    15. require_once(‘/home/customer/www/…’)
      /wp-blog-header.php:19
    16. require(‘/home/customer/www/…’)
      /index.php:17

    Context:

    URL : /?wc-ajax=checkout
    Referer : /checkout/

    Can you please fix this in the next version release?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘PHP Warning: Undefined array key “payment_request_type”’ is closed to new replies.