• Resolved troyschmidt

    (@troyschmidt)


    Line 126 of tools/class-support-logging.php is throwing an error when accessing WooCommerce API from an application. If the HTTP_USER_AGENT is not set then it will error and crash any application. I simply added an isset() to that line and set it to empty string if it isn’t set so that WooCommerce REST API would work again.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘HTTP_USER_AGENT not set on WooCommerce API calls’ is closed to new replies.