Hi
As I can see that dropdown.min.js and collapse.min.js are loaded by Joomla’s Web Asset Manager (WAM).
Is that bootstrap.bundle required for your custom template works properly?
Please try to make a test this way:
- Temporarily disable that boostrap.bundle
- Check whether the problem still persists or not
This will help to narrow down where the issue comes from.
Regards,
Hien