PHP Intergration

Hi All,

Trying to get this working with PHP and have followed the steps however I keep on getting this error and a blank screen. Sorry new to this.

PHP Fatal error: Uncaught Error: Call to undefined function Sentry\\init()

Hey, can you eleborate a bit more how your setup looks like?

How do you install the SDK?
How does the import look like?
Did you try \Sentry\init()?

Hey, I installed it using;

composer require sentry/sdk:2.0.2

Then I inserted it via my header. Yes I have tried it with the slash in front.