Background of the issue:
I'm using 5 languages on my site. For the default language, I use Myanmar language. I select translation options to 'Duplicate content' method on all pages.
Symptoms:
When I change data in the default language (Myanmar) and save, the second language (English) changes into Myanmar data.
Questions:
What is causing the second language to change into the default language data?
Can I make something wrong method?
Could you please advise me?
Languages: English (English )German (Deutsch )French (Français )
Timezone: Europe/Zagreb (GMT+02:00)
Did you ever change the site’s default language in WPML settings? (Not just the default language for content but the actual site-wide default language setting.)
I mean I using duplicate method to create 5 language site page. And I update data in second language (english) manually. That time 2 page are ok. And I again update data in default language (myanmar). That time the data is change into default language.
Languages: English (English )German (Deutsch )French (Français )
Timezone: Europe/Zagreb (GMT+02:00)
To troubleshoot this problem, I'll install the Duplicator plugin and generate packages for further debugging purposes. I'll ensure to exclude all media files to maintain a minimal package size.
You mean that you want to install duplicator plugin.
You can test.
I need to update all of the data in language.
Could you please advise for me? How can I do that?
- Perform the steps above to reproduce the issue.
- Retrieve the latest server debug logs (you can check with hosting support if unsure how to locate them).
Additionally, please try the same process under these conditions:
- With only WPML plugins activated. This will help determine if there's an interaction issue with another plugin.
- With the theme set to a WordPress default like Twenty Twenty. This will help identify if the issue is related to the theme.
There may be something preventing WPML from functioning correctly, and I’m trying to pinpoint the cause. It could even be related to database user permissions.
Please see the following debug.log file :
[22-Mar-2025 07:54:31 UTC] .../builder/core.php:5382 et_builder_get_google_fonts():
An unkown error has occured while trying to retrieve the fonts from the Google Fonts API. Please ensure your Google API Key is valid and active.
[22-Mar-2025 20:18:40 UTC] PHP Fatal error: Uncaught Error: Call to undefined function get_field_object() in /var/www/shwedagonpagoda.org.mm/wp-content/themes/shwedagon-child/functions.php:67
Stack trace:
#0 /var/www/shwedagonpagoda.org.mm/wp-includes/shortcodes.php(434): custom_pagoda_search_shortcode()
#1 [internal function]: do_shortcode_tag()
#2 /var/www/shwedagonpagoda.org.mm/wp-includes/shortcodes.php(273): preg_replace_callback()
#3 /var/www/shwedagonpagoda.org.mm/wp-content/themes/shwedagon/includes/builder/class-et-builder-element.php(3114): do_shortcode()
#4 /var/www/shwedagonpagoda.org.mm/wp-includes/shortcodes.php(434): ET_Builder_Element->_render()
#5 [internal function]: do_shortcode_tag()
#6 /var/www/shwedagonpagoda.org.mm/wp-includes/shortcodes.php(273): preg_replace_callback()
#7 /var/www/shwedagonpagoda.org.mm/wp-content/themes/shwedagon/includes/builder/main-structure-elements.php(3784): do_shortcode()
#8 /var/www/shwedagonpagoda.org.mm/wp-content/themes/shwedagon/includes/builder/class-et-builder-element.php(3433): ET_Builder_Column->render()
#9 /var/www/shwedagonpagoda.org.mm/wp-includes/shortcodes.php(434): ET_Builder_Element->_render()
#10 [internal function]: do_shortcode_tag()
#11 /var/www/shwedagonpagoda.org.mm/wp-includes/shortcodes.php(273): preg_replace_callback()
#12 /var/www/shwedagonpagoda.org.mm/wp-content/themes/shwedagon/includes/builder/main-structure-elements.php(2274): do_shortcode()
#13 /var/www/shwedagonpagoda.org.mm/wp-content/themes/shwedagon/includes/builder/class-et-builder-element.php(3433): ET_Builder_Row->render()
#14 /var/www/shwedagonpagoda.org.mm/wp-includes/shortcodes.php(434): ET_Builder_Element->_render()
#15 [internal function]: do_shortcode_tag()
#16 /var/www/shwedagonpagoda.org.mm/wp-includes/shortcodes.php(273): preg_replace_callback()
#17 /var/www/shwedagonpagoda.org.mm/wp-content/themes/shwedagon/includes/builder/main-structure-elements.php(1606): do_shortcode()
#18 /var/www/shwedagonpagoda.org.mm/wp-content/themes/shwedagon/includes/builder/class-et-builder-element.php(3433): ET_Builder_Section->render()
#19 /var/www/shwedagonpagoda.org.mm/wp-includes/shortcodes.php(434): ET_Builder_Element->_render()
#20 [internal function]: do_shortcode_tag()
#21 /var/www/shwedagonpagoda.org.mm/wp-includes/shortcodes.php(273): preg_replace_callback()
#22 /var/www/shwedagonpagoda.org.mm/wp-includes/class-wp-hook.php(324): do_shortcode()
#23 /var/www/shwedagonpagoda.org.mm/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#24 /var/www/shwedagonpagoda.org.mm/wp-includes/post-template.php(256): apply_filters()
#25 /var/www/shwedagonpagoda.org.mm/wp-content/themes/shwedagon/page.php(46): the_content()
#26 /var/www/shwedagonpagoda.org.mm/wp-includes/template-loader.php(106): include('...')
#27 /var/www/shwedagonpagoda.org.mm/wp-blog-header.php(19): require_once('...')
#28 /var/www/shwedagonpagoda.org.mm/index.php(17): require('...')
#29 {main}
thrown in /var/www/shwedagonpagoda.org.mm/wp-content/themes/shwedagon-child/functions.php on line 67
[23-Mar-2025 07:15:22 UTC] PHP Warning: Undefined array key "pcat" in /var/www/shwedagonpagoda.org.mm/wp-content/themes/shwedagon-child/pagoda-result-page.php on line 15
[23-Mar-2025 07:15:22 UTC] PHP Warning: Undefined variable $fullwidth in /var/www/shwedagonpagoda.org.mm/wp-content/themes/shwedagon-child/pagoda-result-page.php on line 57
[23-Mar-2025 07:15:22 UTC] PHP Warning: Undefined variable $fullwidth in /var/www/shwedagonpagoda.org.mm/wp-content/themes/shwedagon-child/pagoda-result-page.php on line 60
[23-Mar-2025 07:15:22 UTC] PHP Warning: Undefined variable $fullwidth in /var/www/shwedagonpagoda.org.mm/wp-content/themes/shwedagon-child/pagoda-result-page.php on line 62
[23-Mar-2025 07:15:22 UTC] PHP Warning: Undefined variable $fullwidth in /var/www/shwedagonpagoda.org.mm/wp-content/themes/shwedagon-child/pagoda-result-page.php on line 57
[23-Mar-2025 07:15:22 UTC] PHP Warning: Undefined variable $fullwidth in /var/www/shwedagonpagoda.org.mm/wp-content/themes/shwedagon-child/pagoda-result-page.php on line 60
[23-Mar-2025 07:15:22 UTC] PHP Warning: Undefined variable $fullwidth in /var/www/shwedagonpagoda.org.mm/wp-content/themes/shwedagon-child/pagoda-result-page.php on line 62
[23-Mar-2025 08:06:35 UTC] .../builder/core.php:5382 et_builder_get_google_fonts():
An unkown error has occured while trying to retrieve the fonts from the Google Fonts API. Please ensure your Google API Key is valid and active.
[23-Mar-2025 10:06:05 UTC] PHP Warning: Undefined array key "pname" in /var/www/shwedagonpagoda.org.mm/wp-content/themes/shwedagon-child/pagoda-result-page.php on line 14
[23-Mar-2025 10:06:05 UTC] PHP Warning: Undefined array key "pcat" in /var/www/shwedagonpagoda.org.mm/wp-content/themes/shwedagon-child/pagoda-result-page.php on line 15
[23-Mar-2025 12:31:45 UTC] PHP Warning: Undefined array key "pname" in /var/www/shwedagonpagoda.org.mm/wp-content/themes/shwedagon-child/pagoda-result-page.php on line 14
[23-Mar-2025 12:31:45 UTC] PHP Warning: Undefined array key "pcat" in /var/www/shwedagonpagoda.org.mm/wp-content/themes/shwedagon-child/pagoda-result-page.php on line 15
[23-Mar-2025 12:36:27 UTC] PHP Warning: Undefined array key "pname" in /var/www/shwedagonpagoda.org.mm/wp-content/themes/shwedagon-child/pagoda-result-page.php on line 14
[23-Mar-2025 12:36:27 UTC] PHP Warning: Undefined array key "pcat" in /var/www/shwedagonpagoda.org.mm/wp-content/themes/shwedagon-child/pagoda-result-page.php on line 15
[23-Mar-2025 12:46:40 UTC] PHP Warning: Undefined array key "pname" in /var/www/shwedagonpagoda.org.mm/wp-content/themes/shwedagon-child/pagoda-result-page.php on line 14
[23-Mar-2025 12:46:40 UTC] PHP Warning: Undefined array key "pcat" in /var/www/shwedagonpagoda.org.mm/wp-content/themes/shwedagon-child/pagoda-result-page.php on line 15
[24-Mar-2025 04:36:52 UTC] PHP Warning: wp_update_plugins(): An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /var/www/shwedagonpagoda.org.mm/wp-includes/functions.php on line 6114
[24-Mar-2025 04:37:31 UTC] PHP Warning: wp_version_check(): An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums. (WordPress could not establish a secure connection to WordPress.org. Please contact your server administrator.) in /var/www/shwedagonpagoda.org.mm/wp-includes/functions.php on line 6114
Languages: English (English )German (Deutsch )French (Français )
Timezone: Europe/Zagreb (GMT+02:00)
To confirm, this error:
[22-Mar-2025 20:18:40 UTC] PHP Fatal error: Uncaught Error: Call to undefined function get_field_object() in /var/www/shwedagonpagoda.org.mm/wp-content/themes/shwedagon-child/functions.php:67
shows when you click "translate independently" on any of the duplicates?
If so, can you try when:
- only WPML plugins are activated, as it will tell us if there is an interaction issue with other plugin
- theme is set to a WordPress default like Twenty Twenty as it will tell us if there is an interaction issue with your theme
The error does point to the theme (shwedagon-child), so possibly something there preventing WPML from moving it from duplicate to independent translation.
The topic ‘[Closed] After changing the default language, the second language is change into default languagge’ is closed to new replies.