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 Issues? #13

Closed
CameronCarranza opened this issue May 2, 2016 · 1 comment
Closed

PHP7 Issues? #13

CameronCarranza opened this issue May 2, 2016 · 1 comment

Comments

@CameronCarranza
Copy link

Not sure if this is related to PHP7 but I'm getting the following error very frequently:

PHP Fatal Error POST /wp-cron.php

PHP Fatal Error Uncaught TypeError: Argument 3 passed to Bugsnag_Error::fromPHPException() must be an instance of Exception, instance of Error given, called in /app/htdocs/assets/plugins/bugsnag/bugsnag-php/Client.php on line 360 and defined in /app/htdocs/assets/plugins/bugsnag/bugsnag-php/Error.php:31
Stack trace:
#0 /app/htdocs/assets/plugins/bugsnag/bugsnag-php/Client.php(360): Bugsnag_Error::fromPHPException(Object(Bugsnag_Configuration), Object(Bugsnag_Diagnostics), Object(Error))
#1 [internal function]: Bugsnag_Client->exceptionHandler(Object(Error))
#2 {main}
  thrown 
    assets/plugins/bugsnag/bugsnag-php/Error.php:31 [unknown]

Only happening in staging and production (both are 1:1 replicas) but not VVV. staging/production are 7.0.3, my VVV install is 5.5.9. Seems similar to bugsnag/bugsnag-php#102

@GrahamCampbell
Copy link
Contributor

Thanks for the report. This is due to a bad version constraint in our composer file. I've fixed this now. It'll be fixed in our next tag.

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

2 participants