This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Our next available supporter will start replying to tickets in about 0.10 hours from now. Thank you for your understanding.

Tagged: 

This topic contains 10 replies, has 2 voices.

Last updated by hannesK-3 1 month, 4 weeks ago.

Assigned support staff: Marcos Vinicios Barreto.

Author Posts
August 14, 2019 at 10:02 am #4393979

hannesK-3

Hi,
I have built a website with x theme, cornerstone and WPML.
I have done this often before, but now there is a strange behavior:
I have embedded an youtube video on the home page (translated separately), the german video on the german page and the english video on the english page.
In cornerstone I can see the right embed code and the right preview.
But in the front-end I always get the german video on the english page.
Hope you can find the cause.
Thank you!

August 16, 2019 at 12:04 am #4403833

Marcos Vinicios Barreto
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Bahia (GMT-03:00)

Hello,

Thank you for contacting WPML Support. I would like to request temporary access (wp-admin and FTP) to your site to take better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to backup the site before providing us access. In the event that we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

Privacy and Security Policy

We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

**IMPORTANT**

- Please make a backup of site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this: hidden link

Please, let me know if you need any additional details. Have a nice day.

August 16, 2019 at 3:55 pm #4407485

Marcos Vinicios Barreto
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Bahia (GMT-03:00)

Hello,

Thank you for the updates. Please, make sure to provide the access details with full administrator permissions, otherwise it is not possible to test settings, look in the plugins and so on. The provide details don't allow me to see all the WordPress Dashboard admin sections, thank you for your collaboration, have a nice day.

August 16, 2019 at 3:58 pm #4407489

hannesK-3

Sorry, now you have admin privileges.

August 16, 2019 at 5:00 pm #4407671

hannesK-3

Yesterday and today I got an email from wordpress that an error occurred in WPML.

Fehler-Details
==============
Ein Fehler vom Typ E_ERROR wurde in der Zeile 207 der Datei .../weavingcycles.com/wordpress/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-wc-gateways.php verursacht. Fehlermeldung: Uncaught Error: Call to a member function get_currency_codes() on null in .../weavingcycles.com/wordpress/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-wc-gateways.php:207
Stack trace:
#0 .../weavingcycles.com/wordpress/wp-includes/class-wp-hook.php(286): WCML_WC_Gateways->append_currency_selector_to_bacs_account_settings('')
#1 .../weavingcycles.com/wordpress/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#2 .../weavingcycles.com/wordpress/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 .../weavingcycles.com/wordpress/wp-admin/admin-footer.php(73): do_action('admin_footer', '')
#4 .../weavingcycles.com/wordpress/wp-admin/admin.php(288): include('/usr/local/www/...')
#5 {main}

Fehler-Details
==============
Ein Fehler vom Typ E_ERROR wurde in der Zeile 41 der Datei .../weavingcycles.com/wordpress/wp-content/plugins/wpml-translation-management/classes/translation-jobs/class-wpml-tm-unsent-jobs.php verursacht. Fehlermeldung: Uncaught TypeError: Argument 1 passed to WPML_TM_Unsent_Jobs::prepare_unsent_job_for_notice() must be an instance of WPML_Translation_Job, boolean given, called in .../weavingcycles.com/wordpress/wp-includes/class-wp-hook.php on line 288 and defined in .../weavingcycles.com/wordpress/wp-content/plugins/wpml-translation-management/classes/translation-jobs/class-wpml-tm-unsent-jobs.php:41
Stack trace:
#0 .../weavingcycles.com/wordpress/wp-includes/class-wp-hook.php(288): WPML_TM_Unsent_Jobs->prepare_unsent_job_for_notice(false)
#1 .../weavingcycles.com/wordpress/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#2 .../weavingcycles.com/wordpress/wp-includes/plugin.php(465): WP_Hook->do_action(Array)
#3 .../

August 16, 2019 at 7:55 pm #4408019

Marcos Vinicios Barreto
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Bahia (GMT-03:00)

Hello,

Please, take a look at my private reply above. Thanks.

August 16, 2019 at 8:21 pm #4408115

hannesK-3

The migration ist done.

August 16, 2019 at 8:23 pm #4408121

hannesK-3

Meanwhile the cornerstone / X Theme support wrote:
"I see you're using Yoast SEO too. There's currently a known conflict between WPML and Yoast SEO which affects the output of Cornerstone. Would you mind deactivating Yoast SEO to test if this fixes for you too."
Maybe this is relevant.

August 19, 2019 at 11:05 pm #4419469

Marcos Vinicios Barreto
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Bahia (GMT-03:00)

Hello,

Thank you for the details. I tried the mentioned workaround provide by Themeco team in order to solve the issue, unfortunately this is not the solution, I could make it to work in our test server following this workaround:

1 - I disabled all the plugins and kept only the 'Cornestone' itself and the 'WPML Multilingual CMS' plugin.

2 - Then I deleted the embed code for both pages and saved it, reloaded the page and re-entered the embed code for both pages and saved it.

3 - I renabled all the plugins again.

You can se the results at:
hidden link
hidden link

IMPORTANT: Please, note, a backup is required for security reasons and to avoid any data loss, you can use the https://wordpress.org/plugins/backupwordpress/ plugin for these backup needs.

Please, let me know if the steps above works for you. Have a nice day.

August 20, 2019 at 12:42 pm #4423685

hannesK-3

Thank you - that worked!

August 20, 2019 at 12:42 pm #4423687

hannesK-3

My issue is resolved now. Thank you!!!