Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[HttpClient] Undefined index: url #35779

Closed
stevro opened this issue Feb 18, 2020 · 1 comment
Closed

[HttpClient] Undefined index: url #35779

stevro opened this issue Feb 18, 2020 · 1 comment

Comments

@stevro
Copy link

stevro commented Feb 18, 2020

Symfony version(s) affected: 4.4.4

Description
When using a scoped http client the profiler collector throws an undefined index exception.

$this->paymentAPI->request('POST', 'new_payment', [
'json' => [ ... ]
]);

Error trace

ErrorException:
Notice: Undefined index: url

  at /home/vagrant/code/...../vendor/symfony/http-client/DataCollector/HttpClientDataCollector.php:123

Possible Solution
Same fix as in #35458 should be applied

@nicolas-grekas
Copy link
Member

You mean #35672 I suppose.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants