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

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