Invalid html error

how do you fix this error when opening anki: Invalid HTML on card: TypeError: Cannot set property ‘innerHTML’ of null

I am able to use AnkiWeb and mobile but unable to use the app on my mac.

Thank you!

Perhaps this will help: Shared decks with broken Javascript - Frequently Asked Questions

It worked, thank you so much!

However, I am missing some links on my decks which allowed me to open up resources/references when seeing the answer card. Is there anyway I can get that back?

You could try contacting the deck author for assistance.