funkjedi / acf-qtranslate

Adds qTranslate compatible fields for Text, Text Area, Wysiwyg Editor and Image.
http://wordpress.org/plugins/acf-qtranslate/
57 stars 32 forks source link

ACFPRO 5.7.0 Compatibility Issues #118

Open mayaliny opened 6 years ago

mayaliny commented 6 years ago

EDIT- Apparently ACFPRO 5.7.0 has introducted major javascript updates:

https://www.advancedcustomfields.com/blog/version-5-7-0/ https://www.advancedcustomfields.com/resources/javascript-api/

that result in breaking acf qtranslate logic.

It all started getting this errors:

schermata 2018-07-16 alle 11 42 55

I've got a problem when trying to upload and image in a translated image field. Apparently the js code in main.js and qtranslatex.js is trying to access and acf.fields variable which is not defined.

Using WP 4.9.7 QtranslateX 3.4.6.8 ACF QtranslateX 1.7.23 ACF 5.7.0

Do anyone have a suggestion on how to fix this? maybe @funkjedi ? thanks

mayaliny commented 6 years ago

Reverting ACFPRO to 5.6.10 solved the problem temporarily.

cgidds commented 6 years ago

Here's a fix for part of the issue: https://github.com/funkjedi/acf-qtranslate/issues/119#issuecomment-422250410