• Resolved silvanthus

    (@silvanthus)


    When $_SERVER[‘HTTP_USER_AGENT’] is not set, most requests will give a php error notice which will for example prevent using the Woocommerce API, or any header redirect.
    A work around is to set that key (when unset) or to suppress notices.

    It happens here: woocommerce-product-price-based-on-countries/woocommerce-product-price-based-on-countries.php on line 135

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Notice: Undefined index: HTTP_USER_AGENT’ is closed to new replies.