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

Login page fail in metronic 8.1.7 (laravel) installation


When I try to login with user demo nothing happens and the console is full of error messages:
"Uncaught ReferenceError: KTUtil is not defined"

How can I solve this problem?

Thanks!


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 (10)


Hi,

We have fixed the issue. Could you please retry to download it?

https://devs.keenthemes.com/metronic/laravel

Thanks



Great. Its working fine.



It works! Thanks!



Great. Its working fine.



Hi,

Thank you for the information. We are checking this at the moment and provide a fix shortly.

Regards.


 

Just bought the theme, i have same issue. Looks like it is trying to obtain an instance of KTUtil from the resources/src/../ util.js, not the public directory. i dont know if this is the correct behaviour



I am also getting same error



Hi Sergi,

Have you tried to rebuild the assets?


npm install
npm run dev


Thanks



Yes, but same error! sad

Just before this errors other error message is show:
'Uncaught SyntaxError: Invalid or unexpected token' in scripts.bundle.js:53736

Seems like this javascript is not well generated... with binary code?!?!
// On document ready
KTUtil.onDOMContentLoaded(function () {
KTTimelineWidget4.init();
});

�PNG



I'm working with:
npm 9.4.1
yarn 1.7.0
composer 2.5.1
php 8.1.10
mysql 5.7.19

Thanks!



This is not working. Please check


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  :(