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.
This topic is split from https://wpml.org/forums/topic/pay-as-you-go-not-working-3/
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 8:00 – 15:00 | 8:00 – 15:00 | 8:00 – 15:00 | 8:00 – 15:00 | 8:00 – 15:00 | - |
- | 16:00 – 17:00 | 16:00 – 17:00 | 16:00 – 17:00 | 16:00 – 17:00 | 16:00 – 17:00 | - |
Supporter timezone: Europe/Rome (GMT+02:00)
Tagged: Large Sites, Not WPML issue
This topic contains 41 replies, has 0 voices.
Last updated by yvesB-21 17 hours, 42 minutes ago.
Assisted by: Alejandro.
Author | Posts |
---|---|
August 5, 2025 at 10:56 am #17296222 | |
Alejandro WPML Supporter since 02/2018
Languages: English (English ) Spanish (Español ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
Hm, it is having the same issue as before, so there is something happening, there's something modifying the database entries. If you delete that page and re-translate it, it will work again. The problem you have is in the database. there must be an index or something missing and I haven't been able to figure out where it is. I have a question for you. before moving to this hosting, did you have the site somewhere else? many of the things i've seen seem to date to 2023, but they all seem to be modified recently, and I'm talking about information that WPML doesn't touch. -------------- Also, would you give me permission to try to get a backup of your site that I can send to our devs? I suspect there are many things that need to be fixed here. |
August 5, 2025 at 11:10 am #17296248 | |
yvesB-21 |
Yes we recently shifted from cloudways to 10web and then again back to cloudways. This was done in 2024. |
August 5, 2025 at 12:43 pm #17296457 | |
Alejandro WPML Supporter since 02/2018
Languages: English (English ) Spanish (Español ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
Ok, I still don't know what's the trigger of the problem here, it's something in the database that corrupts the entries that have a lot of special characters. that's why you se something like a shortcode from elementor, because the database entry transformed a special character into an encoded version of it, breaking everything. The encoding is not done by WPML, it's usually done by WordPress but something seems to be wrong there which is what we're trying to determine. However it seems the problems started in 2023 because all the pages with issues, even when they seem to be created recently have a date of I think it was may or april 2023, was that site live back then? |
August 5, 2025 at 12:48 pm #17296461 | |
Alejandro WPML Supporter since 02/2018
Languages: English (English ) Spanish (Español ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
Oh, I think I may have found a clue here (check the image attached). Can you ask your hosting about this? The tables have the correct collation but it seems that there is still a reference to the swedish collation somewhere in the database configuration. Can you ask them to change that into the other one you're already using? maybe that's what's causing the issue. |
August 5, 2025 at 1:05 pm #17296648 | |
yvesB-21 |
yes i see that too, i am currently in talks with the support to have this sorted aswell! |
August 5, 2025 at 1:35 pm #17296777 | |
yvesB-21 |
cloudways team have changed it to the correct one |
August 5, 2025 at 2:37 pm #17296994 | |
Alejandro WPML Supporter since 02/2018
Languages: English (English ) Spanish (Español ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
Ok, so then delete the arabic page that is getting errors and translate it again selecting "translate automatically" from WPML > Translation Management. you will not get charged for it because it was previously translated. That should fix the problem, hopefully for good this time :). Regards, |
August 5, 2025 at 3:02 pm #17297079 | |
yvesB-21 |
I think alll the arabic pages are having the same issue. How do i reset arabic so it retranslates them? |
August 5, 2025 at 4:03 pm #17297323 | |
Alejandro WPML Supporter since 02/2018
Languages: English (English ) Spanish (Español ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
You need to: - Delete them, first: go to "pages" > All Pages and switch to the Arabic language. You'll see them translated right away, no charge added to them. Regards. |
August 6, 2025 at 5:47 am #17298450 | |
yvesB-21 |
There is a problem connecting to automatic translation. Please check your internet connection and try again in a few minutes. If you continue to see this message, please contact our support team. |
August 6, 2025 at 8:12 am #17298734 | |
Alejandro WPML Supporter since 02/2018
Languages: English (English ) Spanish (Español ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
The issue connecting is because your site is experiencing deadlocks in the database: [06-Aug-2025 02:43:39 UTC] WordPress database error Deadlock found when trying to get lock; try restarting transaction for query UPDATE wp_actionscheduler_actions SET attempts = attempts+1, status='in-progress', last_attempt_gmt = '2025-08-06 02:43:39', last_attempt_local = '2025-08-06 04:43:39' WHERE action_id = 8500147 made by do_action_ref_array('action_scheduler_run_queue'), WP_Hook->do_action, WP_Hook->apply_filters, ActionScheduler_QueueRunner->run, ActionScheduler_QueueRunner->do_batch, ActionScheduler_Abstract_QueueRunner->process_action, ActionScheduler_DBStore->log_execution [06-Aug-2025 02:43:39 UTC] WordPress database error Deadlock found when trying to get lock; try restarting transaction for query UPDATE wp_actionscheduler_actions SET attempts = attempts+1, status='in-progress', last_attempt_gmt = '2025-08-06 02:43:39', last_attempt_local = '2025-08-06 04:43:39' WHERE action_id = 8500423 made by do_action_ref_array('action_scheduler_run_queue'), WP_Hook->do_action, WP_Hook->apply_filters, ActionScheduler_QueueRunner->run, ActionScheduler_QueueRunner->do_batch, ActionScheduler_Abstract_QueueRunner->process_action, ActionScheduler_DBStore->log_execution [06-Aug-2025 02:43:39 UTC] PHP Fatal error: Uncaught InvalidArgumentException: Unidentified action 8500423: we were unable to mark this action as having failed. It may may have been deleted by another process. in /home/1308505.cloudwaysapps.com/dwdfyhvxnv/public_html/wp-content/plugins/seo-by-rank-math/vendor/woocommerce/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php:1232 However, It seems these things are happening because there are a LOT of cronjobs that suddenly stopped working. they all seem related to rankmath but I'm not sure if rankmath is the one that originated the problem or it's just the one that was running then when it happens so it's just a "victim" of the process failing. I'm Investigating this with our devs. |
August 6, 2025 at 8:13 am #17298736 | |
yvesB-21 |
okay, |
August 7, 2025 at 8:29 am #17301697 | |
Alejandro WPML Supporter since 02/2018
Languages: English (English ) Spanish (Español ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
Hey there, I wonder if you made any sort of change to the site? because I'm starting to see a lot of improvements since I left yesterday: - The translation jobs page is now loading correctly Right now the only thing I'm seeing are cronjobs not running which tells me you have a setup where you're disabling the cronjobs maybe with a plugin. It has nothing to do with WPML either but cronjobs are important so it's better if they are not disabled. Can you give it a try, translate a few pages and let me know how it goes? I translated a few things (no cost on you whatsoever) and it worked without issues. |
August 7, 2025 at 12:53 pm #17302650 | |
yvesB-21 |
i disabled the corn plugin, and also updated the server from 12 core to 16 core and updated the RAM from 48 to 58 |
August 7, 2025 at 1:24 pm #17302736 | |
Alejandro WPML Supporter since 02/2018
Languages: English (English ) Spanish (Español ) Italian (Italiano ) Timezone: Europe/Rome (GMT+02:00) |
Awesome, Let's monitor then to see if things go ok. Please know though that when there are too many things sent to translate at once (in your case it's more about the amount of languages than just the content), jobs could get stuck. We are working to improve that on big sites and WPML 4.8 already ships some of those improvements. however if you see jobs that are stuck, you will be able to unstuck them from WPML > Support > Troubleshooting. Let me know how it goes and keep an eye on the debug.log because if there are errors then that will get the jobs stuck. Regards, |