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: Custom Work
This topic contains 14 replies, has 0 voices.
Last updated by François-Régis Ferry 1 minute ago.
Assisted by: Dražen.
Author | Posts |
---|---|
July 17, 2025 at 9:37 am #17244677 | |
François-Régis Ferry |
Contesto del problema: Sintomi: Domande: Is the proposed fix in the function match_in_order (in sitepress-multilingual-cms/classes/settings/class-wpml-tm-serialized-custom-field-package-handler.php) appropriate for resolving this issue? if ( ! is_array( $whitelist ) ) { |
July 18, 2025 at 9:35 am #17249358 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, thanks for contacting us. It is very difficult to know what cause it and what might be proper fix. As I see you have some custom theme / plugins, please check if the issue still happens with them and while using WP default theme. Let me know how it goes. Regards, |
July 21, 2025 at 7:35 am #17253915 | |
François-Régis Ferry |
Hello Drazen, |
July 21, 2025 at 8:15 am #17254050 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, thanks for getting back and testing. Please share the access details of your website, so I can log in and take a look. Preferblu staging, where I can test same steps as you and do some debugging. I’m enabling a private message for the following reply. 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/
- Please backup the site files and database before providing us access.
Thanks, |
July 22, 2025 at 8:20 am #17258166 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, I checked further and it seems issue is related to your custom plugin, as per our support policy we can not support or debug custom code: - https://wpml.org/purchase/support-policy/ If you can show us issue or WPML bug with simple example code or compatible plugin / themes we can help further, but I am afraid we can not support custom solutions and debug them. For tasks beyond our standard support, you can get help from certified WPML Contractors. Hope this makes sense, let me know if any further doubts or questions. Regards, |
July 22, 2025 at 8:22 am #17258170 | |
François-Régis Ferry |
Hey Dražen thanks for checking but could you give me a bit more details, which plugin(s) according to you is breaking stuff ?? |
July 22, 2025 at 8:26 am #17258178 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, I did not checked, you mentioned issue is with Forms, and as I can see for forms you are using custom plugin Pernod Ricard Forms. This is not commercial plugin as I can see. If I have misunderstood the issue, please let me know. Regards, |
July 22, 2025 at 8:32 am #17258250 | |
François-Régis Ferry |
Oh yes indeed the issue happens when a user wants to translate a form with our custom plugin indeed. Or, will your dev team add such a patch in future version: if ( ! is_array( $whitelist ) ) { OR if ( ! is_array( $whitelist ) ) { Thanks |
July 22, 2025 at 9:02 am #17258382 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, I checked a bit further, and you might be right, even if it is being caused by custom plugin, it seems we should implement a check to avoid fatal error. I have escalated ticket to 2nd tier to check and confirm / escalate further if needed. I will update on any news. Regards, |
July 22, 2025 at 10:48 am #17258807 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, we have checked, and some things feel a bit odd. Did you do any adjustment to WPML code or files? For us to continue and confirm the issue / check further, it would be required to reproduce similar issue on next test site. The error points to a deeper issue. We could hide it by adding an array check, but the real problem might still be there and could cause translation issues later, so we need to further check. - hidden link You can add some simple example code to show us a bug in our code, or you can install your custom plugin and reproduce issue there. Let us know how it goes. Regards, |
July 24, 2025 at 3:19 pm #17268391 | |
François-Régis Ferry |
Hello Dražen thanks for the sandbox env. |
July 25, 2025 at 5:43 am #17269904 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, I am afraid it is not possible, as this is test server. But if you can you can show us an with just simple example code, or you can install file manager and add plugin like that. Also I think it will work even if you install it like regular plugin. Note since this is custom plugin and coding, we might not be able to help further. Regards, |
July 25, 2025 at 8:33 am #17270328 | |
François-Régis Ferry |
Could you please disable all plugins because the missing mu one causes an error. |
July 25, 2025 at 8:47 am #17270358 | |
Dražen Supporter
Languages: English (English ) Timezone: Europe/Zagreb (GMT+02:00) |
Hello, I am afraid I can not disable them now when website crashed, so I am sharing new test site, please try there again: - hidden link Regards, |
July 25, 2025 at 3:26 pm #17271697 | |
François-Régis Ferry |
Thanks a lot Drazen, but they are not visible in the list ?? |