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 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 8:00 – 12:00 | 8:00 – 12:00 | - |
- | 14:00 – 17:00 | 14:00 – 18:00 | 14:00 – 18:00 | 13:00 – 17:00 | 13:00 – 17:00 | - |
Supporter timezone: Europe/Zagreb (GMT+02:00)
This topic contains 28 replies, has 2 voices.
Last updated by eliezerb 2 years, 11 months ago.
Assisted by: Bruno Kos.
Author | Posts |
---|---|
May 6, 2022 at 1:15 am | |
eliezerb |
Hey Bobby, When we have WPML Media plugin activated, Elementor won't save updates to the page. There is a 524 error. In addition, when we have BOTH WPML and Yoast active, the same problem occurs. It does not occur with any other plugins. Regards, Ryan |
May 6, 2022 at 2:12 am | |
May 6, 2022 at 1:14 pm #11167827 | |
Bruno Kos WPML Supporter since 12/2018
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+02:00) |
Hi, I am wondering if this would help in your case: https://wpml.org/forums/topic/php-message-php-fatal-error-uncaught-invalidargumentexception-argument-id-mus/page/2/#post-8146231 Can you try and let me know if it changes anything, are you able to save pages such as hidden link? Regards, |
May 9, 2022 at 1:23 am #11176791 | |
eliezerb |
Hey Bruno, I don't see that line of code in that file. I passed along the SFTP and WP Login details to the support person who created this ticket. Regards, |
May 9, 2022 at 6:17 am #11177751 | |
Bruno Kos WPML Supporter since 12/2018
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+02:00) |
Hi, Indeed, something has changed in the last 2 months or so since that last ticket, even though we didn't release new Media Translation version since. Can you try with: $attachments[ $i ]['attachment_id'] = Attachment::idFromUrl( $attributes['src'] ); instead? Regards, |
May 9, 2022 at 6:19 am #11177799 | |
Bruno Kos WPML Supporter since 12/2018
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+02:00) |
Sorry I just realized it was published in 2021 and not this year. However try the workaround if it works. |
May 11, 2022 at 12:31 am #11193273 | |
eliezerb |
Thank you! That resolved the first part of the problem. Is there similar code to that in WPML SEO or the main WPML plugin? With WPML enabled, including WPML Media, I am now able to edit some pages even with Yoast SEO enabled. However, I am not able to edit other pages, like the homepage: hidden link. As soon as I disable the main WPML plugin, I am able to edit the homepage with Yoast SEO enabled. WPML appears to be conflicting with Yoast SEO in certain circumstances. By the way, won't commenting out the WPML media library code just reset the next time the plugin is updated? And how come that code is causing an issue to begin with? Regards, |
May 11, 2022 at 6:51 am #11194849 | |
Bruno Kos WPML Supporter since 12/2018
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+02:00) |
Hi, When you say "WPML appears to be conflicting with Yoast SEO in certain circumstances.", do you still get 524 timeouts when saving or something else is happening? As for the workaround - yes, it would be rewritten after plugin update. This is just a workaround before permanent solution is released, this logic calls some slow queries when there is a bigger amount of media files, not to go into details with technicality of this. Regards, |
May 11, 2022 at 7:17 am #11195085 | |
eliezerb |
Yes, the same issue occurs. Regarding the permanent solution, when do you think that will be released? |
May 11, 2022 at 8:09 am #11195871 | |
Bruno Kos WPML Supporter since 12/2018
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+02:00) |
Hi, I am not sure about the timing of a permanent solution, it is up to developers. So to clarify, you get 524 when you edit any original page which has duplicates created into all the other languages? Regards, |
May 12, 2022 at 4:56 am #11204071 | |
eliezerb |
What shall I do in the meantime, until an update is ready, so that it doesn't get overwritten? Regarding your question, yes, the error is still 524, but it is not on all pages. I have only tested a couple of pages but the homepage is the important one it doesn't work on since we need to update upcoming holidays on it often. To reiterate, the homepage updates fine when Yoast SEO is active UNLESS you activate WPML as well. Regards, |
May 12, 2022 at 1:18 pm #11209173 | |
Bruno Kos WPML Supporter since 12/2018
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+02:00) |
Hi, The truth is that we don't have solution in that case - we need debug why this request takes for as long that it hits timeout. Can I ask you the following? In order to debug this issue, I will install Duplicator plugin, will create packages and will try this on my localhost and escalate further to 2nd tier. I will exclude all the media files, etc, to keep the package minimal. https://wpml.org/faq/provide-supporters-copy-site/ Let me know if this is OK with you. Regards, |
May 12, 2022 at 8:52 pm #11211741 | |
eliezerb |
Hey Bruno, You are welcome to do that, but the site is quite large and difficult to copy. You should know that this site is a staging website already, and you are welcome to make any changes to it you'd like without setting up another staging website. Regards, |
May 13, 2022 at 7:12 am #11213783 | |
Bruno Kos WPML Supporter since 12/2018
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+02:00) |
Hi, This is escalated to our 2nd tier team and may take some debugging time, I'll get back to you as soon as I have any news or questions for you. Regards, |
May 13, 2022 at 1:08 pm #11216863 | |
Bruno Kos WPML Supporter since 12/2018
Languages: English (English ) German (Deutsch ) French (Français ) Timezone: Europe/Zagreb (GMT+02:00) |
Hi, What if you run this query upon your database and try saving home page or some other page which has many duplicates: ALTER TABLE `wp_postmeta` ADD INDEX `meta_value` (`meta_value`(191)); Does it help? Regards, |