Error on some products preventing line item prop form elements from displaying

I am hiding the default variant options on some products, but unhid them and didn’t seem to solve it (not that display: none, should affect selecting them with JQuery anyway, correct?)

Anyway my line item properties are not displaying on pages with this error. This one has four, another I was looking at only has one, but same error, same line of the script. Anyone encountered this? I saw it in another thread or two, but no solution. Let me know if I can provide any more info, or a link and password (privately, client’s site)

Show the code related to that , as that is biggest variable with the error is it not?