[Waiting for user feedback] Problem deleting old translations
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 wait time is higher than usual, please make sure you are meeting the minimum requirement - https://wpml.org/home/minimum-requirements before you report issues, and if you can take a look at current Known Issues - https://wpml.org/known-issues/. Thank you.
Background of the issue:
I'm trying to delete old translations on my site hidden link. I managed to delete 5000 images by repeatedly clicking the button, but now it seems stuck and won't delete anything else.
Symptoms:
The deletion process is stuck and not completing as expected.
Questions:
Why is the deletion process not completing?
How can I successfully delete the remaining translations?
While one of my teammates takes care of your ticket, I will provide you with the first debugging steps.
Please update your WPML plugin and add-ons to the latest version, 4.7.2, to benefit from the latest bug fixes and improvements. This may not necessarily resolve your problem; however, we need to work on the newest code available to troubleshoot the issue best.
You can check the latest released versions under "My Account -> Downloads" on this site. Instructions to update can be found here: http://wpml.org/faq/install-wpml/
If you do not see the updates, you might need to click the Check for updates button in the Plugins → Add New Plugin → Commercial tab.
If this is still the issue, please check if there is no fatal error when you click the button. You need to enable debugging. You can add a few lines to the site’s wp-config.php file. With the error log enabled, you will see the actual problem.
To enable it, open your wp-config.php file and look for define(‘WP_DEBUG’, false);. Change it to:
define('WP_DEBUG', true);
To enable the error logging to a file on the server, you need to add yet one more similar line:
define( 'WP_DEBUG_LOG', true );
The errors will be saved to a debug.log log file inside the /wp-content/directory.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
I would like to request temporary access (wp-admin and FTP) to the website to investigate the issue further.
You can find the required fields below the comments section when you log in to leave the next reply. The information you provide is private, meaning only you and I can see and access it.
IMPORTANT
Please be sure to back up your website and database before granting us access.
If you can't see the "wp-admin / FTP" fields, your post and website credentials will be set to "PUBLIC." DO NOT publish the data unless you see the required wp-admin / FTP fields.
The private reply form looks like this: hidden link
Click "I still need assistance" the next time you reply.
Video: hidden link
Please note that we are required to request this information individually on each ticket. We are not permitted to access any credentials that were not specifically submitted on this ticket using the private response form.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Once issues like this occur, I would always suggest enabling the languages again, hiding them from Frontend for visitors, and then cleaning up the site manually.
Once I try to do this and for example try to delete many items, like for example 200 products at the same time, I am running into Timeout Errors coming from the server.
I see the time limit is set currently to 3600 seconds but anyhow it seems the server is not able to process the request or it simply takes too long.
I would suggest you ask the hosting company to take a look into the server's error.log. Maybe this will give a better idea about why those Timeout Errors occur on the server.