Error JS with ACF 6
-
I have an error with the new version of ACF 6 when in ACF edition group.
Uncaught SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data initialize_acf_medium_editor_field https://mysite/assets/plugins/acf-medium-editor-field/assets/js/input.js?ver=2.6.0:44 <anonymous> https://mysite/assets/plugins/acf-medium-editor-field/assets/js/input.js?ver=2.6.0:90 jQuery 2 <anonymous> https://mysite/assets/plugins/acf-medium-editor-field/assets/js/input.js?ver=2.6.0:88 s https://mysite/assets/plugins/advanced-custom-fields-pro/assets/build/js/acf-input.min.js?ver=6.0.1:1 o https://mysite/assets/plugins/advanced-custom-fields-pro/assets/build/js/acf.min.js?ver=6.0.1:1 doAction https://mysite/assets/plugins/advanced-custom-fields-pro/assets/build/js/acf.min.js?ver=6.0.1:1 doAction https://mysite/assets/plugins/advanced-custom-fields-pro/assets/build/js/acf.min.js?ver=6.0.1:1 7806 https://mysite/assets/plugins/advanced-custom-fields-pro/assets/build/js/acf.min.js?ver=6.0.1:1
In previous version of ACF, this function initialize_acf_medium_editor_field wasn’t executed in input.js in admin acf group edition, but only in edition post page
i have a custom solution to solve my case, but the plugin need an update for this problem i think
My change on line 89 in input.js
if ($(this).hasClass('acf-field-medium-editor') ) { initialize_acf_medium_editor_field($(this)); }
Thanks a lot
Matt
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Error JS with ACF 6’ is closed to new replies.