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
Hi Joshua,
The name seems wrong for "KTDdrawer". It should be "KTDrawer".
Thanks