Skip to content

Error Class 'App\Setting' not found #87

@ritterg

Description

@ritterg

When I try to use the Settings functionality in a laravel 8 project, I get an error "Error Class 'App\Setting' not found" in vendor/appzcoder/laravel-admin/src/Setting.php:39

The problem is that in the same file on line 5 there is

use App\Setting as SettingModel;

but Laravel since some versions has models by App\Models, so this should be

use App\Models\Setting as SettingModel;

At least it works for me like this

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions