Good morning,
After install the new version of Metronic_laravel_8.3.0, i have this errors on Laravel logs:
[2025-04-30 14:21:50] local.ERROR: Target class [App\Core\Bootstrap\Metronic\Demo1\BootstrapAuth] does not exist. {"view":{"view":"/var/www/samuelolavo.com/public_html/resources/views/pages/auth/login.blade.php","data":[]},"exception":"[object] (Spatie\\LaravelIgnition\\Exceptions\\ViewException(code: 0): Target class [App\\Core\\Bootstrap\\Metronic\\Demo1\\BootstrapAuth] does not exist. at /var/www/.../public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:946)
[stacktrace]
[previous exception] [object] (Illuminate\\Contracts\\Container\\BindingResolutionException(code: 0): Target class [App\\Core\\Bootstrap\\Metronic\\Demo1\\BootstrapAuth] does not exist. at /var/www/.../public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:946)
Good morning,
I've identified the issue.
In the file config/settings.php
, the class paths were incorrect.
The correct configuration should be: 'KT_THEME_BOOTSTRAP' => [ 'default' => \App\Core\Bootstrap\BootstrapDefault::class, 'auth' => \App\Core\Bootstrap\BootstrapAuth::class, 'system' => \App\Core\Bootstrap\BootstrapSystem::class, ],
Also, the following line was incorrect: 'KT_THEME_LAYOUT_DIR' => 'layout/metronic/demo1',
It should be updated to: 'KT_THEME_LAYOUT_DIR' => 'layout',
After applying these changes, the problem was resolved.