composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 0 installs, 4 updates, 0 removals
- Updating backpack/base (0.8.3 => 0.8.4) Downloading: 100%
- Updating backpack/crud (3.3.1 => 3.3.2) Downloading: 100%
- Updating backpack/permissionmanager (2.1.22 => 2.1.24) Downloading: 100%
- Updating cviebrock/eloquent-sluggable (4.3.0 => 4.4.0) Downloading: 100%
Writing lock file
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover
In settings.php line 18:
Class 'CRUD' not found
Script @php artisan package:discover handling the post-autoload-dump event returned with error code 1
3.3, 5.5.23, 7.2, mariadb
Same to me, after update crud is loaded as last package, to solve this i put these on config/app.php
Backpack\Base\BaseServiceProvider::class,
Backpack\CRUD\CrudServiceProvider::class,
Between Package Service Providers Comment and Application Service Providers comment on providers array
'CRUD' => Backpack\CRUD\CrudServiceProvider::class,
at the end of aliases array
Solved, thanks.
Most helpful comment
Same to me, after update crud is loaded as last package, to solve this i put these on config/app.php
Between Package Service Providers Comment and Application Service Providers comment on providers array
at the end of aliases array