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.
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | 8:00 – 12:00 | - |
- | 12:00 – 16:00 | 12:00 – 16:00 | 12:00 – 16:00 | 12:00 – 16:00 | 12:00 – 16:00 | - |
Supporter timezone: Europe/Zagreb (GMT+02:00)
Tagged: Bug
This topic contains 8 replies, has 1 voice.
Last updated by Dražen 4 days, 15 hours ago.
Assisted by: Dražen.
Author | Posts |
---|---|
August 8, 2025 at 12:06 pm #17305351 | |
walkmew |
Background of the issue: Symptoms: Questions: |
August 11, 2025 at 7:26 am #17308223 | |
walkmew |
Hi WPML Support Team, Is there any update on this scenario? |
August 12, 2025 at 7:11 am #17312172 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, thanks for contacting us. We are aware of this limit from WP Engine and are working on improving this in the future versions. For now, these are options that are safe to disable, settings or deleting any other option can cause issues with WPML or lost data / settings. - wpml_notices can be deleted Please make sure to create a backup, before doing any actions, just in case. Regards, |
August 12, 2025 at 11:42 am #17313199 | |
walkmew |
Hi Drazen, Thanks for sharing the updates. Most of these options are already set autoload value to OFF. So it will not make any impact on autoload size. If we set the autoload value for `icl_sitepress_settings` option name to OFF, then will it make any negative impact on the WPML functionalities ? Please let me know, if anything else we can do to reduce the autoload size. Thanks |
August 12, 2025 at 12:02 pm #17313289 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, thanks for getting back. It may have negative effect on WPML functionality, icl_sitepress_settings should not be removed from auto load as this is frequently used everywhere in the WPML and add-ons even on front-end. Other than what I already suggested, not much we can suggest until further improvements are done in future version that will decrease size of the option. Regards, |
August 12, 2025 at 2:03 pm #17313881 | |
walkmew |
Hi Drazen, Thanks for the update. One more thing while investigation I found that most of the array key values are similar in both the below arrays under this option name `icl_sitepress_settings` Here my question is that why the key values in array are coming in custom_term_fields_translation array which are even not used in the terms page ? We have a concept of ACF Builder and the fields which we create from it are only for page templates, not for the any terms. The keys values like common_group_sections_ are generated from the ACF Builder and these types of keys are also coming in custom_term_fields_translation array. Please check and let me know what can be the issue here. Thanks |
August 13, 2025 at 7:03 am #17315608 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, it is expected since this key holds all general WPML settings configuration, this is WPML settings and WPML translation settings for posts, taxonomy, custom fields and etc. These are also settings shown in WPML > Settings, or Languages etc. Hope this helps. Regards, |
August 13, 2025 at 8:38 am #17316096 | |
walkmew |
Hi Drazen Thanks for the update. I have reviewed the WPML settings and understand that all general settings are stored under the icl_sitepress_settings option key. In my attempt to replicate the issue, I unset the values for custom_term_fields_translation and saved as an empty array. Furthermore, I opened a post and updated it to check if its post meta fields were appearing in this term array. Unfortunately, they do appear, which is undesirable. When custom post meta fields are saved to the custom_fields_translation array, they should not be duplicated in the custom_term_fields_translation array. This issue seems to originate from the file located at \plugins\acfml\classes\class-wpml-acf-field-settings.php, where the preferences are saved for both arrays: $tm_setting_index = ['custom_fields_translation', 'custom_term_fields_translation']; Please review this information and let me know if there's a solution we can implement to address these issues. Thanks |
August 13, 2025 at 9:09 am #17316152 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, Thank you for getting back to us and for taking the time to investigate. At this point, we cannot make or recommend any changes to the icl_sitepress_settings key. As mentioned earlier, our developers are actively working on optimizing and reducing the size of this key. Until that work is complete, we strongly advise against making any manual modifications. I understand this may not be the answer you were hoping for. This key affects multiple parts of WPML, and any changes can cause further issue with WPML, until our developers complete the necessary investigations and testing and fixing not much we can advise to lower the key size. I am sorry for trouble and thank you for your understanding. Let me know if there is anything else we can do for you. Regards, |