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

PHP7 support #102

Closed
xPaw opened this issue Dec 4, 2015 · 7 comments
Closed

PHP7 support #102

xPaw opened this issue Dec 4, 2015 · 7 comments

Comments

@xPaw
Copy link
Contributor

xPaw commented Dec 4, 2015

The first error I saw after upgrading:

Uncaught TypeError: Argument 3 passed to Bugsnag_Error::fromPHPException() must be an instance of Exception, instance of Error given, called in Bugsnag/Client.php on line 417 and defined in Bugsnag/Error.php:32

Stack trace: #0 Bugsnag/Client.php(417): Bugsnag_Error::fromPHPException(Object(Bugsnag_Configuration), Object(Bugsnag_Diagnostics), Object(Error))
#1 Bugsnag_Client->exceptionHandler(Object(Error))
#2 [internal function]: HandleException(Object(Error))
#3 {main} thrown

Which is an issue caused by this: https://secure.php.net/manual/en/function.set-exception-handler.php#refsect1-function.set-exception-handler-parameters

@nWidart
Copy link

nWidart commented Dec 15, 2015

Same thing for the ParseError.

@kattrali
Copy link
Contributor

Updated support should be a new version later today. Thanks for the reports, @xPaw, @nWidart!

@nWidart
Copy link

nWidart commented Dec 23, 2015

Awesome! Thank you very much! 😄

@kattrali
Copy link
Contributor

Happy to help!

@loopj
Copy link
Contributor

loopj commented Dec 23, 2015

🎉

@claygorman
Copy link

I am still having this issue " Uncaught TypeError: Argument 1 passed to Bugsnag_Error::setPHPException() " today with latest files. If you create a syntax error in one of your files it leads to that error.

@TomKita
Copy link

TomKita commented Jan 14, 2016

@claygorman +1

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

No branches or pull requests

6 participants