Super Sale Limited Time 50% OFF for All-Access Plans
Save 50% Now

Errors Metronic-Laravel 8.3.0


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)



shocked


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (2)


Hi

Sorry for the delay in response.
Thanks Samuel for reporting and solving this! We will update the source code.



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.


Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Click any option to insert into your comment. Select text first to wrap it.
  • **text** to make things bold
  • *text* to emphasize
  • ### Heading to make headings
  • [link text](url) for links
  • ![alt text](image-url) to paste in an image
  • - item to make a list
  • 1. item to make an ordered list
  • > quote to quote somebody
  • `code` for single line of code
  • ```js ... ``` for JS code block
  • ```html ... ``` for HTML code block
  • ```scss ... ``` for SCSS code block
  • ```php ... ``` for PHP code block
  • --- for a horizontal rule
  • happy  :)
  • shocked  :|
  • sad  :(