-
Notifications
You must be signed in to change notification settings - Fork 394
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
Everything breaks after install #234
Comments
Hi @jaminscript, I did the following steps, but could not reproduce such error: Create a new project: create-project --prefer-dist laravel/laravel blog Install the package: cd blog
composer require owen-it/laravel-auditing Add Publish the default configuration file: php artisan auditing:install |
Also having the same issue in laravel 5.4. Because of this part in the
|
Use a FQCN instead of a closure. See here. |
After installing this package my Laravel installation breaks. After redownloading a fresh copy to try this again, it also breaks. The error I get is as follows:
[Symfony\Component\Debug\Exception\FatalThrowableError] Call to undefined method Closure::__set_state()
These are the steps I followed:
Step 1:
composer require owen-it/laravel-auditing
Step 2: Add
OwenIt\Auditing\AuditingServiceProvider::class,
to myconfig/app.php
inside theproviders
section.Step 3: Clear the cache because Laravel doesn't know about this new package
php artisan config:cache
. Not doing this step obviously results in errors.Step 4: Final step:
php artisan auditing:install
Step 5: Report to this repo as it spews out the above issue.
Any ideas?
The text was updated successfully, but these errors were encountered: