Treblle / treblle-laravel

The official Treblle SDK for Laravel. Seamlessly integrate Treblle to manage communication with your dashboard, send errors, and secure sensitive data.
https://www.treblle.com/
MIT License
129 stars 21 forks source link

Target class [treblle] does not exist since changed to DeferrableProvider #66

Closed jaketoolson closed 1 year ago

jaketoolson commented 1 year ago

Version

Description

Trying to upgrade to any version after 4.0.26, I get "[Illuminate\Contracts\Container\BindingResolutionException] Target class [treblle] does not exist."

Looks related to #65

Route::prefix('/v1')->middleware(['treblle'])->group(function () {
  // API ROUTES HERE
});

Steps to reproduce

Expected behavior

I expect Treblle route middleware to still work out of the box but since 4.0.26, it hasn't worked.

Notes

For some reason you've removed previous versions/releases in 4.0.x , so I can't rollback to when it was working before now 4.0.26 so I've had to disable it.

JustSteveKing commented 1 year ago

Hey @jaketoolson this is really strange as this was just resolved! Leave it with me to investigate.

Sorry for the delay in getting to this - I have been out of office giving a talk for a few days

jaketoolson commented 1 year ago

Hey @jaketoolson this is really strange as this was just resolved! Leave it with me to investigate.

Sorry for the delay in getting to this - I have been out of office giving a talk for a few days

No apologies! It's all gravy -- I just disabled it for now.

JustSteveKing commented 1 year ago

@jaketoolson this should be resolved now, but let me know if you do have issues. The biggest problem is trying to balance between the different ways Laravel can be deployed!