Attempted to call an undefined method named "setTransportFactory" of class "Sentry\ClientBuilder".
N-M opened this issue · 2 comments
How do you use Sentry?
Sentry SaaS (sentry.io)
SDK version
5.0.0
Steps to reproduce
- Upgraded version from 4.0 to 5.0
- Adjusted config to new version
Config:
Expected result
" Attempted to call an undefined method named "setTransportFactory" of class
"Sentry\ClientBuilder". " should not be presented.
Actual result
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).
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 thecache:clear
command suffers from this kind of issues).
That was the cause of the issue. Thank you.