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

BindingResolutionException #67

Closed
jmurphy45 opened this issue Sep 17, 2017 · 2 comments
Closed

BindingResolutionException #67

jmurphy45 opened this issue Sep 17, 2017 · 2 comments

Comments

@jmurphy45
Copy link

jmurphy45 commented Sep 17, 2017

I am getting this error in lumen when I try to use this library. Not if this is a bug to I am doing something wrong.

BindingResolutionException
Target [Illuminate\Contracts\Translation\Loader] is not instantiable while building
[Flugg\Responder\Responder, Flugg\Responder\ErrorFactory,
Flugg\Responder\ErrorMessageResolver, Illuminate\Translation\Translator].

  public function index(Responder $responder){
         $response = Experience::all();
         //return response($response,200);
         return responder()->success($response)->respond();
    }
@flugg
Copy link
Owner

flugg commented Sep 17, 2017

Hey, what version of Lumen are you on?

@flugg
Copy link
Owner

flugg commented Sep 17, 2017

I managed to replicate this with the latest version and this is indeed a library bug. Apparently some incompatibilities with the translator between Laravel and Lumen, but this should now be fixed with the just tagged release v2.0.10. Please run composer update and verify that it works, thanks!

@flugg flugg closed this as completed Sep 17, 2017
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