Skip Navigation

[Résolu] Views Beta is conflicting with WPML

This support ticket is created Il y a 6 années et 11 mois. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

Ce sujet contient 8 réponses, a 3 voix.

Dernière mise à jour par sigerS Il y a 6 années et 10 mois.

Assisté par: Nigel.

Auteur
Publications
#604180

Hello support!

I am trying to:
- Install WPML on a site build with Types and Views Beta.
- When installing the stable versions of CMS and String translations i get the following fatal error after installing the latter:
Fatal error: Class 'Types_Field_Group_Post_Factory' not found in /home/burotijs/public_html/rusch/wp-content/plugins/types/vendor/toolset/types/embedded/includes/wpml.php on line 303
- When i deactivated String translation via FTP i also got a message to install WPML 3.9 (that is the beta)
- When installing CMS 3.9 i directly got the same error as above.

Can you guys tell me how to implement WPML the correct way?
Since the error message i decided to post my question here. If i need to go to WPML support, please let me know.

Have a good day!
Marc

#604311

Nigel
Supporter

Les langues: Anglais (English ) Espagnol (Español )

Fuseau horaire: Europe/London (GMT+00:00)

Hi Marc

The betas do not work currently with WPML.

Integrating the new versions is part of the work required from both Toolset and WPML before the final versions can be released.

You'll need to wait for the final versions before you can expect to be able to use the two together.

I know we expect to release updated beta versions later this month before publishing the final versions, and it may be that you'll see support for WPML then but I can't currently say if that will be the case.

I've shared the error message you reported with the developers just to make sure it is known and expected.

#604326

Nigel
Supporter

Les langues: Anglais (English ) Espagnol (Español )

Fuseau horaire: Europe/London (GMT+00:00)

Hi Marc

The developers came back and said that while they don't expect WPML to work correctly with the betas, they don't expect to see that error either.

Can I get a copy of your site so they can test? https://toolset.com/faq/provide-supporters-copy-site/

If you want me to make the duplicate myself, let me know.

Your next reply is private.

#604655

Nigel
Supporter

Les langues: Anglais (English ) Espagnol (Español )

Fuseau horaire: Europe/London (GMT+00:00)

Hi Marc

Thanks for that, I have passed that on to the developers.

You can downgrade if you are not using post relationships.

If you have set up post relationships with the beta they won't work when downgrading and you would have to set them up again from scratch with the old method.

I'll update here when the developers have looked at your site.

#604803

Nigel
Supporter

Les langues: Anglais (English ) Espagnol (Español )

Fuseau horaire: Europe/London (GMT+00:00)

Hi Marc

I passed the copy of your site on to the developers and they had no problem installing and activating WPML.

I haven't had chance to double-check that myself, but do you want to try again?

I'll check myself in the morning.

#605105

Yes, i don't have any problems anymore. Might it be due to the fact that WPML updated to 3.9 yesterday (after the bug occured)?
Anyway; thanks a lot Nigel!
Marc

#608518

Hi,
I have got the same error, but using the many-to-many relationships.So downgrading is not an option.

Fatal error: Uncaught Error: Class 'Types_Field_Group_Post_Factory' not found in /home/p13592/domains/sgrsmt.nl/public_html/client/yogatrainer/wp-content/plugins/types/vendor/toolset/types/embedded/includes/wpml.php:303 Stack trace: #0 /home/p13592/domains/sgrsmt.nl/public_html/client/yogatrainer/wp-content/plugins/types/vendor/toolset/types/embedded/admin.php(91): wpcf_admin_bulk_string_translation() #1 /home/p13592/domains/sgrsmt.nl/public_html/client/yogatrainer/wp-content/plugins/types/vendor/toolset/types/embedded/bootstrap.php(239): wpcf_embedded_admin_init_hook() #2 /home/p13592/domains/sgrsmt.nl/public_html/client/yogatrainer/wp-includes/class-wp-hook.php(286): wpcf_embedded_init('') #3 /home/p13592/domains/sgrsmt.nl/public_html/client/yogatrainer/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #4 /home/p13592/domains/sgrsmt.nl/public_html/client/yogatrainer/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #5 /home/p13592/domains/sgrsmt.nl/public_html/client/yogatrainer/wp-settings.ph in /home/p13592/domains/sgrsmt.nl/public_html/client/yogatrainer/wp-content/plugins/types/vendor/toolset/types/embedded/includes/wpml.php on line 303

I am using the latest versions of all the plugins, but that doesn't seem to matter.

Can you advise me what to do?

#608525

Nigel
Supporter

Les langues: Anglais (English ) Espagnol (Español )

Fuseau horaire: Europe/London (GMT+00:00)

Hi Siger

Sorry, could you please open a new ticket with that info. I may want to get a copy of your site for testing. I'll keep an eye out for it.

#608527

Hi Nigel,
Thanks. I will.