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

Metronic 8 - Demo 6 HTML integration with Laravel 8 Error


I need help resolving errors which appear when I integrate Metronic 8 - Demo 6 HTML into Laravel 8. I have tried using the assets function to load css/js resources which loads them successfully but the errors persist.

These are the Errors
> UnCaught TypeError: Cannot read properties of undefined (reading 'data')
at new KTDdrawer ( scripts.bundle.js:1)
at Function.KTDrawer.creatInstances ( scripts.bundle.js:1)
at Function.KTDrawer.init ( scripts.bundle.js:1)

> UnCaught TypeError: Cannot read properties of undefined (reading 'onDOMContentLoaded')
at widegts.bundle.js:1
> UnCaught TypeError: Cannot read properties of undefined (reading 'onDOMContentLoaded')
at widegts.js:1
> UnCaught TypeError: Cannot read properties of undefined (reading 'onDOMContentLoaded')
at chat.js:1
> UnCaught TypeError: Cannot read properties of undefined (reading 'onDOMContentLoaded')
at upgrade.plan.js:1
> UnCaught TypeError: Cannot read properties of undefined (reading 'onDOMContentLoaded')
at create.campaign.js:1
> UnCaught TypeError: Cannot read properties of undefined (reading 'onDOMContentLoaded')
at users-search.js:1


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 Joshua,

The name seems wrong for "KTDdrawer". It should be "KTDrawer".

Thanks


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