Hi
when I click a button which is supposed to open a modal but it doesn't happen and got this error
the button :
<a
href='#'
className='btn btn-sm btn-light-success fw-bolder ms-2 fs-8 py-1 px-3'
data-bs-toggle='modal'
data-bs-target='#kt_modal_upgrade_plan'
>
Upgrade to Pro
</a>
the error :
Uncaught TypeError: Cannot read properties of undefined (reading 'classList')
Uncaught ReferenceError: process is not defined
I had the same issue and when I replaced package.json and yarn.lock from the below URL it got fixed. not sure what's your root cause
https://gist.github.com/carmelodevuz/40c32fa5a96d3a64c5f4be20bf44085c.
Hi,
It looks like your errors are not related to the modals, do you have this problem only with #kt_modal_upgrade_plan modal or with all modals?
Do you use the latest version of Metronic?
As you can see on our preview page all modals work fine.
Unfortunately, we weren't able to reproduce it in the latest Metronic version.
Did you make any changes to our codebase?