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

Attempted to call an undefined method named "setTransportFactory" of class "Sentry\ClientBuilder". #851

Closed
N-M opened this issue Jun 17, 2024 · 2 comments

Comments

@N-M
Copy link

N-M commented Jun 17, 2024

How do you use Sentry?

Sentry SaaS (sentry.io)

SDK version

5.0.0

Steps to reproduce

  1. Upgraded version from 4.0 to 5.0
  2. Adjusted config to new version

Config:

Screenshot from 2024-06-17 14-08-17

Expected result

" Attempted to call an undefined method named "setTransportFactory" of class
"Sentry\ClientBuilder". " should not be presented.

Actual result

Screenshot from 2024-06-17 14-06-13

@Jean85
Copy link
Collaborator

Jean85 commented Jun 17, 2024

Did you clear the cache? Have you tried a manual rm -rf var/cache? Sometime cache generated from the older version of the packages is still present and may generate this kind of issues when launching a Symfony command (and the cache:clear command suffers from this kind of issues).

@N-M
Copy link
Author

N-M commented Jun 17, 2024

Did you clear the cache? Have you tried a manual rm -rf var/cache? Sometime cache generated from the older version of the packages is still present and may generate this kind of issues when launching a Symfony command (and the cache:clear command suffers from this kind of issues).

That was the cause of the issue. Thank you.

@N-M N-M closed this as completed Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants