Please make sure to update to WPML 4.3.6 and check our list of Known Issues before reporting
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.
|October 11, 2018 at 6:26 pm #2809458|
I am trying to:
I have tried many things, including deactivating all the plugins/themes that I could. The issue is not anywhere in code that I can find after several days of troubleshooting. It exists somewhere in the database. I have proven this with a fresh install of the project working, then importing the db of the live site and the issue shows again.
ALL post meta is ignored, not just ACF fields. In fact the ACF field names are copied, but not their data, or any other post meta.
To replicate the issue:
Note: This behavior only happens after saving settings for making other post types translatable.
What could be causing this?
I do see a lot of db errors in the log
|October 11, 2018 at 6:46 pm #2809549|
I fixed the COLLATION errors. It did not resolve the meta not copying issue.
|October 12, 2018 at 7:26 pm #2812974|
Languages: English (English )
Timezone: America/New_York (GMT-05:00)
Thank you for contacting WPML support. I'll be happy to help you with this.
I see you are using an older version of WPML. Please update to the latest versions of all plugins.
Next, please try increasing the WP Memory Limit. Minimum requirements are 128Mb: https://wpml.org/home/minimum-requirements/
You can add this to wp-config.php to increase WP memory:
/** Memory Limit */
Add it above the line /* That's all, stop editing! Happy blogging. */
Lastly, please go to WPML -> Settings. In the custom fields section, make sure that the any fields for your custom post type are set to Translate.
After these steps, please follow your steps again, and open the browser console. If the issue remains, are you seeing an errors in the console?
Please also enable the WordPress debug log. This will allow us to see if any PHP errors are being produced. More Info: https://codex.wordpress.org/Debugging_in_WordPress
1. Edit wp-config.php and insert the following lines:
define( 'WP_DEBUG', true ); define( 'WP_DEBUG_LOG', true ); define( 'WP_DEBUG_DISPLAY', false );
2. Browse to the page with the issue and/or reproduce the issue.
3. Locate the debug log in: /wp-content/debug.log
4. Paste the latest lines here. No need to paste the entire log file, just 50 lines or so will do. Please censor any sensitive information.
The topic ‘[Closed] Adding additional post types for translation breaks duplication’ is closed to new replies.