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

Webhooks Attribute not found #25

Closed
AlbertoSinigaglia opened this issue Oct 7, 2019 · 9 comments
Closed

Webhooks Attribute not found #25

AlbertoSinigaglia opened this issue Oct 7, 2019 · 9 comments

Comments

@AlbertoSinigaglia
Copy link

when using Route::webhooks('...', '...') i get an error like:
InvalidArgumentException Attribute [webhooks] does not exist.
and in the stack trace, the error is thrown on the web.php file

@AlbertoSinigaglia
Copy link
Author

my fault, it was Laravel 6.0 that cache package and service, removed the files and works fine

@vinayaWD
Copy link

vinayaWD commented Apr 4, 2020

@AlbertoSinigaglia Which cache package were you deleted?

@LouisCharles70
Copy link

I didn't understand how you solved the problem ? I have the same problem and doing "php artisan cache:clear" didn't solve the problem

@AlbertoSinigaglia
Copy link
Author

I didn't understand how you solved the problem ? I have the same problem and doing "php artisan cache:clear" didn't solve the problem

If I don’t remember wrong, I’ve just runphp artisan route:clear and php artisan cache:clear

@AlbertoSinigaglia
Copy link
Author

@AlbertoSinigaglia Which cache package were you deleted?

Sorry for being late, just answered

@kalnode
Copy link

kalnode commented Aug 28, 2020

If you come across the error "Attribute [webhooks] does not exist"... and you've been working in other branches with different composer configs, you may need to simply run "composer install" again to make sure the library is actually installed. Your config/migrations/etc should still be in place.

@hamza-saqib
Copy link

hamza-saqib commented Nov 17, 2022

if it is cache issue then why I am getting this I just clone repo and run composer install and i got this same error ? i am using webbook client and and server package both. and using php 7
also i'm getting same error while running php artisan route:clear

@hondaman900
Copy link

hondaman900 commented Jan 24, 2023

Has anyone resolved this one? I'm on a Forger server, and running either php artisan cache:clear or php artisan route:clear commands fail, but returning this error:

In RouteRegistrar.php line 92:
  Attribute [stripeWebhooks] does not exist.

Not sure what to do next and my site is broken.

@hondaman900
Copy link

FWIW, turns out that for me it was Composer running out of memory when installing a new package. Creating a new composer.lock on my local dev (using composer update) and then committing that to the live server (after much tweaking to resolve Git sync issues) fixed the issue.

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

6 participants