Log1x/acf-phone-number

JavaScript error in ACF 6

Closed this issue · 1 comments

With this plugin enabled with ACF v6, I get the following console error, and much functionality is broken on the "Edit Group" screens.

Uncaught TypeError: can't access property "getAttribute", t is undefined
    i http://www.menopauseinfo.localhost/wp-content/plugins/acf-phone-number/public/js/field.js:1
    e http://www.menopauseinfo.localhost/wp-content/plugins/acf-phone-number/public/js/field.js:1
    847 http://www.menopauseinfo.localhost/wp-content/plugins/acf-phone-number/public/js/field.js:1
    jQuery 2
    847 http://www.menopauseinfo.localhost/wp-content/plugins/acf-phone-number/public/js/field.js:1
    s http://www.menopauseinfo.localhost/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf-input.min.js:1
    o http://www.menopauseinfo.localhost/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf.min.js:1
    doAction http://www.menopauseinfo.localhost/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf.min.js:1
    doAction http://www.menopauseinfo.localhost/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf.min.js:1
    7806 http://www.menopauseinfo.localhost/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf.min.js:1
    jQuery 13

I'm trying to track down the issue, will report back if I find a solution.

Ha, it's fixed in the latest version, never mind again! I need to remember to check this for this plugin in the future 😅, maybe integrating this would be worthwhile? https://github.com/YahnisElsts/plugin-update-checker