data-toggle is outdated under Bootstrap 5
You can `git grep data-toggle` to find occurrences. They should all be replaced with data-bs-toggle.