-
-
Notifications
You must be signed in to change notification settings - Fork 144
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
Attribute [webhooks] does not exist. #179
Comments
Maybe you forgot to run the optimize script, I know I did ;) # Clear the old boostrap/cache/compiled.php
php artisan clear-compiled
# Recreate boostrap/cache/compiled.php
php artisan optimize |
@dreammonkey This poblem happens in scenario of developing a package which doesn't have artisan commands... Also I reproduced the error with an empty new package so I don't think it has something to do with cache! |
@SH1R3F do |
composer update |
Closing this as the issue is probably not caused by our code. |
I'm trying to build a package uses this package to manage webhook responses..
I followed the setup in the readme file and everything works fine in local but when switching to console and start writing tests everything fails with this exception
Attribute [webhooks] does not exist.
I reproduced the error by building a new empty package that only has the service provider, routes, testing suite and "spatie/laravel-webhook-client": "^3.1".. it fails on first test with same error.
you can find the reproduction package on this repo "https://github.com/SH1R3F/webhook-client-reproduction-test"
The text was updated successfully, but these errors were encountered: