Viewing 2 replies - 1 through 2 (of 2 total)
  • This is WooCommerce (v3.2.1) file:
    /wp-content/plugins/woocommerce/includes/wc-core-functions.php
    Rule: 1622

    
    function wc_maybe_store_user_agent( $user_login, $user ) {
    

    change to:

    
    function wc_maybe_store_user_agent( $user_login, $user = '' ) {
    

    Is some php old 5.6 code, what gives a problem in php 7.xx

    Thread Starter axew3

    (@axewww)

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘error on function wc_maybe_store_user_agent()’ is closed to new replies.