Skip to content
This repository has been archived by the owner on Dec 16, 2023. It is now read-only.

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

Open
gab1982 opened this issue Jul 25, 2017 · 26 comments
Open

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

gab1982 opened this issue Jul 25, 2017 · 26 comments

Comments

@gab1982
Copy link

gab1982 commented Jul 25, 2017

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
Copy link

I have same problem

@gab1982
Copy link
Author

gab1982 commented Jul 27, 2017

Can anyone help with this, its becoming an issue.

@gfStudioTesta
Copy link

Same problem here...

@Bones5
Copy link

Bones5 commented Jul 27, 2017

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
Copy link

gfStudioTesta commented Jul 27, 2017

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

@paulinhoerry
Copy link

How can I rolling back ACF PRO?

@Bones5
Copy link

Bones5 commented Jul 27, 2017

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

delete version 5.6 and upload this zip

@funkjedi
Copy link
Owner

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

@gfStudioTesta
Copy link

Any news ?

@gab1982
Copy link
Author

gab1982 commented Jul 31, 2017

Yes any news on this?

@tomanthoni
Copy link

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

@cyberfly999
Copy link

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

@tomanthoni
Copy link

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

@gab1982
Copy link
Author

gab1982 commented Aug 2, 2017

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

@Tusko
Copy link
Contributor

Tusko commented Aug 3, 2017

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

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

@tomanthoni
Copy link

Thanks!

@gfStudioTesta
Copy link

Ty !

@gab1982
Copy link
Author

gab1982 commented Aug 3, 2017

thanks :)

@cyberfly999
Copy link

Great, thanks :-)

@jcarignan
Copy link

@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
Copy link
Contributor

Tusko commented Aug 3, 2017

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

@Tusko
Copy link
Contributor

Tusko commented Aug 3, 2017

@jcarignan added compatibility for older versions

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

@jnsflint
Copy link

jnsflint commented Aug 4, 2017

Thanks a lot for taking care of that issue!

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

@funkjedi
Copy link
Owner

funkjedi commented Aug 4, 2017

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

@cedericvh
Copy link

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

@marianagarciaferreira
Copy link

not work with v5.7 and 5.8

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests