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

No fields showing and Duplicate field options showing after updating #103

Open gab1982 opened 6 years ago

gab1982 commented 6 years ago

I am using wordpress 4.8, ACF Pro 5.6.0, and your plugin (v1.7.22). After updating the ACF pro plugin to v5.6.0 it seems your plugin is no longer compatible, I am experiencing some issues, the fields that I had translatable are no longer showing in the admin eg a text field, and when I go into the ACF field options to see what it says, it says 'unknown' for the field name and when I click edit all of the fields are duplicated, I can't even change the field back to just text unless I de-activate the plugin. Please find a screenshot here: https://www.dropbox.com/s/myuh5o2ru3mjqwd/screenshot1.jpg?dl=0 and https://www.dropbox.com/s/hpqk2o7mnvsc6bi/screenshot2.jpg?dl=0

I have tried re-installing ACF, re-installing ACF qTranslate, deleting the fields I made and re-making them but no luck.

paulinhoerry commented 6 years ago

I have same problem

gab1982 commented 6 years ago

Can anyone help with this, its becoming an issue.

gfStudioTesta commented 6 years ago

Same problem here...

Bones5 commented 6 years ago

This is a major issue, it's due to the new version of ACF.

rolling back to version 5.5.14 of ACF Pro fixes the issue temporarily

gfStudioTesta commented 6 years ago

Yes rolling back is a solution. Hope to be not forced to migrate to hateful WPML 👎

paulinhoerry commented 6 years ago

How can I rolling back ACF PRO?

Bones5 commented 6 years ago

Download version 5.5.14 from here https://www.advancedcustomfields.com/my-account/view-downloads/

delete version 5.6 and upload this zip

funkjedi commented 6 years ago

I'll be pushing out a 5.6 compatible version either tonight or tomorrow.

gfStudioTesta commented 6 years ago

Any news ?

gab1982 commented 6 years ago

Yes any news on this?

tomanthoni commented 6 years ago

I also have this problem... Client very angry =(

cyberfly999 commented 6 years ago

Had to roll back to ACF Pro 5.5.14. but can't wait for the fix...

tomanthoni commented 6 years ago

Yes, I also rolled back to 5.5.14. Fixed it.

gab1982 commented 6 years ago

I rolled back too however if a client updates it then will become an issue, hoping for a fix soon...

Tusko commented 6 years ago

@gab1982 @paulinhoerry @gfStudioTesta @Bones5 @funkjedi Fixed for ACF PRO 5.6.0

https://github.com/Tusko/acf-qtranslate/commit/aefdf4e5645b489be60c57724c10f36ba2319ea7

tomanthoni commented 6 years ago

Thanks!

gfStudioTesta commented 6 years ago

Ty !

gab1982 commented 6 years ago

thanks :)

cyberfly999 commented 6 years ago

Great, thanks :-)

jcarignan commented 6 years ago

@Tusko So the fix is simply changing the extends to "acf_field" for the 5 file in src/acf_5/fields/ ?

So I guess to keep backward compatibility, a quick (but quite dirty) fix would be something like:

if($acfVersion < 5.6) {
    class acf_qtranslate_acf_5_file_dynamic extends acf_field_file {}
} else {
    class acf_qtranslate_acf_5_file_dynamic extends acf_field {}
}

class acf_qtranslate_acf_5_file extends acf_qtranslate_acf_5_file_dynamic {
 //[...]
}
Tusko commented 6 years ago

@jcarignan Great idea! I did it very fast because too many sites were broken after update to 5.6

Tusko commented 6 years ago

@jcarignan added compatibility for older versions

https://github.com/funkjedi/acf-qtranslate/compare/master...Tusko:master.patch

jnsflint commented 6 years ago

Thanks a lot for taking care of that issue!

@funkjedi Do you have a ETA of publishing it to the wordpress plugin store?

funkjedi commented 6 years ago

Just pushed out update with compatibility fixes. You should see it in your update feed shortly.

cedericvh commented 6 years ago

Is it possible I still get duplicate content when saving a wysiwig field ? I tried everything, also reading these posts.

marianagarciaferreira commented 5 years ago

not work with v5.7 and 5.8