acf-cf7 icon indicating copy to clipboard operation
acf-cf7 copied to clipboard

Not Working with 5.3.3.2+ of ACF PRO

Open gleenk opened this issue 9 years ago • 6 comments

Please fix it!

gleenk avatar Jan 29 '16 10:01 gleenk

Me too, i have an error with select2.min.js in chrome console

andreanovix avatar Jan 29 '16 10:01 andreanovix

It causes that select2.min.js error to ACF Pro @taylormsj

gleenk avatar Jan 29 '16 10:01 gleenk

Same issue here. Pretty much all javascript functies are disabled because of this error. Would be awesome if you could fix.

Uncaught query function not defined for Select2 s2id_acf[field_561ce40abb118]

rnnyrk avatar Feb 02 '16 09:02 rnnyrk

@gleenk & @andreanovix. Check this pull-request. It's a temporary fix for the problem. Just quote out the script. In acf-cf7-v5.php line 259 - 269

rnnyrk avatar Feb 02 '16 10:02 rnnyrk

@Ronnyrr while waiting for a fix I converted all CF7 ACF Fields into text fields (to not lose data), and printed something like this:

<?php echo do_shortcode('[contact-form-7 id="'.get_sub_field('your_field_name').'"]');?>

And you have to insert CF7 form ID into field. I hope that helps.

gleenk avatar Feb 02 '16 10:02 gleenk

The pull request of @robertark fixed it for me. Since the code was only of cometic nature it should be good to merge for a quick fix.

gefangenimnetz avatar Feb 11 '16 10:02 gefangenimnetz