Introducing ReUI:Open-source UI components and apps built with React, Next.js and Tailwind CSS
Browse ReUI

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
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (1)


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
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(