Hi,
I’m receiving this error which is screwing up the rest of the WP JS on the page. I’m editing a custom post type with ACF fields on with validation and get this error:
Uncaught TypeError: Cannot read property ‘attributes’ of undefined
As I Say, this then throws out the JS used to launch, say, the featured image etc.
Anyone got any ideas? I had a quick Google and suggests it has something to do with the selector used to perform validation as the attributes attribute isn’t on all inputs. But without trawling through all the code I was hoping someone may have come across the error and found a fix!
Cheers,
Tom