Get 2024 Templates Mega Bundle!14 Bootstrap, Vue & React Templates + 3 Vector Sets
Get for 99$

KTUtil is not defined


on my console ım getting theese error, and ı guess its just about smt named KTUtil, ım fresh guy in softwares so would you help me please?

widgets.bundle.js:1 Uncaught ReferenceError: KTUtil is not defined
at widgets.bundle.js:1:1405
(anonim) @ widgets.bundle.js:1
widgets.js:1 Uncaught ReferenceError: KTUtil is not defined
at widgets.js:1:35919
(anonim) @ widgets.js:1
chat.js:1 Uncaught ReferenceError: KTUtil is not defined
at chat.js:1:925
(anonim) @ chat.js:1
upgrade-plan.js:1 Uncaught ReferenceError: KTUtil is not defined
at upgrade-plan.js:1:699
(anonim) @ upgrade-plan.js:1
create-campaign.js:1 Uncaught ReferenceError: KTUtil is not defined
at create-campaign.js:1:6032
(anonim) @ create-campaign.js:1
create-app.js:1 Uncaught ReferenceError: KTUtil is not defined
at create-app.js:1:3752


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)


Hi,

Please make sure to run your custom js code when all core dependacy js is loaded. To do so put your js code after the global js scripts includes and use the following handler:


KTUtil.onDocumentReady(function() {
// your code.
});


Also make sure you included all mandatary js scripts as per original html templates.

Regards.


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