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

Error on Laravel 5.1 #20

Closed
welcoMattic opened this issue Aug 17, 2016 · 5 comments
Closed

Error on Laravel 5.1 #20

welcoMattic opened this issue Aug 17, 2016 · 5 comments
Labels

Comments

@welcoMattic
Copy link
Contributor

I just pull the last 2.0.0-alpha from a composer update, and I caught this error on Laravel 5.1.41 :

[BadMethodCallException]
  Method resourceParameters does not exist.

This is due to a non-existant method on Route facade on 5.1 :

In asvae/laravel-api-tester/src/Http/routes.php line 3 :

Route::resourceParameters(['requests' => 'request']);

Method resourceParameters doesn't exist

@asvae asvae added the bug label Aug 17, 2016
@welcoMattic
Copy link
Contributor Author

EDIT: 2.0.0-alpha is not ready for 5.1.

But dev-development is ready.

@asvae
Copy link
Owner

asvae commented Aug 17, 2016

Erm. Yeah. That's how composer tracks version. For values like 2.0.0-alpha it checks github releases. For dev-development it just grabs last commit from development branch.

Major release will fix this issue for sure.

@welcoMattic
Copy link
Contributor Author

BTW, even in dev-development branch, my dingo/api routes are not recognized by api-tester in Laravel 5.1

@asvae
Copy link
Owner

asvae commented Aug 21, 2016

@welcoMattic if you still experience troubles with dingo api consider creating another issue with some additional info, so that we can reproduce.

Currently, it works fine on our side.

@welcoMattic
Copy link
Contributor Author

Hi guys!

Finally I found the source of my problem. I simply was a corrupted config cache file that the artisan config:clear command can not delete. Everything works like a charm now. Thanks for help ;)

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

No branches or pull requests

2 participants