laravel-settings icon indicating copy to clipboard operation
laravel-settings copied to clipboard

Class 'App\Http\Controllers\Admin\Setting' not found

Open andresilva-cc opened this issue 6 years ago • 2 comments

Installed everything, migrated, but when I try to set a Setting it gives me this error:

Class 'App\Http\Controllers\Admin\Setting' not found

I'm using Laravel 5.4.

andresilva-cc avatar Jan 23 '18 14:01 andresilva-cc

If you are using the facade Setting, make sure are using \Setting::whatever, to not use current namespace

ramonvic avatar Feb 10 '18 22:02 ramonvic

If Facade Alias added, then add the below before your class:

use Setting;

NicksonYap avatar Jul 25 '18 15:07 NicksonYap