ryanbagwell / wordpress-sentry

A WordPress plugin to handle reporting php errors to Django's Sentry
33 stars 19 forks source link

PHP Fatal error: Class 'Raven_Breadcrumbs' not found in raven/lib/Raven/Client.php on line 94 #17

Open einkoro opened 8 years ago

einkoro commented 8 years ago

Upon entering the DSN in settings it immediately returned a 500 error and the log contains the following:

PHP Fatal error:  Class 'Raven_Breadcrumbs' not found in /var/www/test.dev/wp-content/plugins/getsentry-client/raven/lib/Raven/Client.php on line 94
ryanbagwell commented 8 years ago

@Einkoro just saw this issue. Did you install it from the wordpress plugin manager or manually from github?

einkoro commented 8 years ago

Via composer using wpackagist.org so it should be the latest version on the WordPress.org repository.

encolpe commented 8 years ago

Same problem here. We get it from the Wordpress Plugin Manager and we are using PHP7 with the last Wordpress version.

encolpe commented 8 years ago

The error is fixed by cloning the repo. May be you need to republish in Wordpress Plugin Manager.

nikolaik commented 8 years ago

There are files missing in the version available from the wordpress.org repo. Without doing too much research, I believen these are necessary:

adampatterson commented 7 years ago

I had the same issue from the WordPress plugin download. I then downloaded from this repo and had to rename the folder to getsentry-client from wordpress-sentry.

No more error, I have not confirmed that it's logging correctly yet.