• Hello, I have been getting the same error on every new order on all websites using anti-fraud:

    [02-Aug-2023 21:59:55 UTC] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function opmc_hpos_delete_post_meta(), 2 passed in /home/customer/www/REDACTED.com/public_html/wp-content/plugins/woocommerce-anti-fraud/anti-fraud-core/class-wc-af-score-helper.php on line 602 and exactly 3 expected in /home/customer/www/REDACTED.com/public_html/wp-content/plugins/woocommerce-anti-fraud/opmc-hpos-compatibility-helper.php:58
    Stack trace: 0 /home/customer/www/REDACTED.com/public_html/wp-content/plugins/woocommerce-anti-fraud/anti-fraud-core/class-wc-af-score-helper.php(602): opmc_hpos_delete_post_meta(13437, ‘_wc_af_recommen…’) 1 /home/customer/www/REDACTED.com/public_html/wp-content/plugins/woocommerce-anti-fraud/anti-fraud-core/class-wc-af-hook-manager.php(213): WC_AF_Score_Helper->do_check(13437) 2 /home/customer/www/REDACTED.com/public_html/wp-includes/class-wp-hook.php(308): WC_AF_Hook_Manager->process_queue(13437) 3 /home/customer/www in /home/customer/www/REDACTED.com/public_html/wp-content/plugins/woocommerce-anti-fraud/opmc-hpos-compatibility-helper.php on line 58

    It seems like it may just be a toggle that needs a value but changing settings does not seem to help. Orders still are created but this error is bloating log files.

    Thank you – The Bobs

  • The topic ‘OPMC Woocommerce Anti-Fraud php error on every new order’ is closed to new replies.