• Resolved contemplate

    (@contemplate)


    I’m seeing hundreds of these errors:

    PHP Warning: strpos() expects parameter 1 to be string, array given in /public_html/wp-content/plugins/woocommerce-google-analytics-pro/includes/class-wc-google-analytics-pro-integration.php on line 850

    I wrote a small fix to be placed on line 850 before the if statement:

    
    if ( is_array($value) ){
        $value = implode(" ", $value);
    }
    

    Hope this helps.

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

The topic ‘strpos() expects parameter 1’ is closed to new replies.