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 2.07 hours from now. Thank you for your understanding.
Tagged: Exception
This topic contains 22 replies, has 2 voices.
Last updated by arnoP-3 1 year, 5 months ago.
Assisted by: Nigel.
Author | Posts |
---|---|
May 12, 2023 at 7:49 am #13634863 | |
arnoP-3 |
Please keep the thread open until we've figured this out. Thanks! |
May 16, 2023 at 5:42 am #13652127 | |
arnoP-3 |
I just received an e-mail saying "I’m guessing that your support thread isn’t relevant anymore, so I’ll be closing it soon." Please keep it open. I'm waiting for an update. Thanks, |
May 16, 2023 at 6:39 am #13652289 | |
Nigel Supporter Timezone: Europe/Madrid (GMT+01:00) |
Hi Arno That's an automated email that is sent after a few days. As long as you reply to it to keep the thread open, I'll reply mark this as awaiting your reply, and we can keep doing that as long as is needed. |
May 16, 2023 at 7:17 am #13652599 | |
arnoP-3 |
Hi Nigel, Thanks. So far, I find it hard to conclude anything. I installed a free limited logger. Some logged events match (roughly) with the timestamps of the warning in the WordPress log file. Here's an example: 9 May 2023 8:45:03.000, System, <IP>, Published the post Günstige Hotels. Post ID: 368298 Post type: page Post status: published 9 May 2023 8:45:03.000, System, <IP>, Created the new custom field rank_math_internal_links_processed in the post Günstige Hotels. 9 May 2023 8:45:03.000, System, <IP>, Created the new custom field content_next_update in the post Günstige Hotels. I am guessing that might be our remote translator doing work in the WPML Advanced Translation Editor. So, the user is called "System" instead of the name we gave the translator. The IP address is not his but in the USA for the ones I checked (a WPML server perhaps). We're not getting any errors during our work, apart from the issues with translating links, which are reported in other support tickets. Did you find anything on your end? If you did not test a remote translator via the Advanced Translation Editor yet, it might be worth a try. |
May 16, 2023 at 3:23 pm #13657633 | |
Nigel Supporter Timezone: Europe/Madrid (GMT+01:00) |
It just popped up on my copy of your site now as I was running a final test of the day before closing! So, I'll resume tomorrow now that I have managed to trigger the notice. |
May 17, 2023 at 10:52 am #13663415 | |
Nigel Supporter Timezone: Europe/Madrid (GMT+01:00) |
I've gathered together all of the details and escalated this so my colleagues can investigate further, now that we have the steps and conditions to reproduce. I'll update you when I have some feedback from them. |
May 22, 2023 at 8:38 am #13687329 | |
Nigel Supporter Timezone: Europe/Madrid (GMT+01:00) |
So I'm pleased to say that the specific cause has been located, and it has been passed to the developers to update our code with a fix. In the meantime, if you need a workaround you can edit the file plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Relation.php and change line 31 from return strcmp( $a, $b ) < 0; to return (int) (strcmp( $a, $b ) < 0); I think we can probably close here? The change will be included in an upcoming release. If it doesn't make it into the next version—which is pre-release testing—then you would need to re-apply the change. |
May 22, 2023 at 9:27 am #13687681 | |
arnoP-3 |
Excellent! Yes, we can close the thread. I'll trust the fix will make it to one of the next releases. Thanks for your assistance. Arno |