Open jjboathouse opened 6 years ago
Same issue here but with Magento 1.9. It works on a plain PHP file but I'm having the error when used in the template header. Spent hours but nothing... I guess is conflicting with some JS files :(
My original error is "TypeError: $(...) is null" (Firefox) or "Uncaught TypeError: Cannot read property 'countdown' of null" (Chrome) but working around as inspired from https://github.com/hilios/jQuery.countdown/issues/23, I end up with the error titled here.
I know this issue has been solved a million times but I still cannot figure out what I am doing wrong. The plugin is loading correctly on my site. I've tried the regular file, the .min file, and loading using a CDN. I am using Shopify so I don't know if that actually matters at all but it should be working.