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.
Tagged: Compatibility
This topic contains 113 replies, has 3 voices.
Last updated by Sumit 1 year, 4 months ago.
Assisted by: Sumit.
Author | Posts |
---|---|
April 5, 2023 at 11:54 am #13409967 | |
Sumit Supporter
Languages: English (English ) Timezone: Asia/Kolkata (GMT+05:30) |
Hi, As I requested let's proceed one by one. About WooCommerce index let's first finish the media issues. For the forum bug, please open the link when you are logged-in to the wpml.org forum. The number of pages are different for logged-in and logged-out users due to private replies. I have shared the script here hidden link Please follow these steps:- #1 Make sure you have a complete DB backup. Or try this on the staging site first. After your feedback, I will clean the leftover from WPML tables using PHPMyAdmin and then we will duplicate images using WPML once all the processes are done the WPML media slow queries issue should be fixed. Thanks |
April 5, 2023 at 8:35 pm #13414073 | |
louisN-4 |
what did you mean? After your feedback, I will clean the leftover from WPML tables using PHPMyAdmin and then we will duplicate images using WPML once all the processes are done the WPML media slow queries issue should be fixed. - i understood you don't actually plan to delete files, can you clarify what the script do? |
April 6, 2023 at 7:53 am #13416943 | |
Sumit Supporter
Languages: English (English ) Timezone: Asia/Kolkata (GMT+05:30) |
Hi, Please see the documentation of WPML media https://wpml.org/documentation/getting-started-guide/media-translation/#id5 It says
The script will delete duplicated entries from the database. After it posts meta table and WPML tables need to be cleaned.
Deleting post meta for the posts that do not exist in the WP posts table. WPML tables can be fixed from WPML troubleshooting options. https://wpml.org/documentation/support/wpml-troubleshooting-options/ Then after it we will run WPML media duplication defined here https://wpml.org/documentation/getting-started-guide/media-translation/#id5 That is the root of the issue. Running in the background and slowing your site. Once WPML media setup is done WPML does not run these background tasks. Thanks |
April 6, 2023 at 10:03 am #13418631 | |
louisN-4 |
just sharing that we saw the same behavior of brands also in blog, that some images db entities were not created, wiill keep you updated. |
April 10, 2023 at 9:37 am #13436645 | |
louisN-4 |
we started running the script, and now the screen starts refreshing like you said, and so far it deleted 402 items |
April 10, 2023 at 9:43 am #13436703 | |
louisN-4 |
QUESTION: it continuously show Deleted 402 items for image hidden link |
April 10, 2023 at 10:03 am #13436773 | |
Sumit Supporter
Languages: English (English ) Timezone: Asia/Kolkata (GMT+05:30) |
Hi, If you think it is stuck. Please close the tab and do not run it. I will check in a couple of minutes. What is happening Thanks |
April 10, 2023 at 10:08 am #13436787 | |
louisN-4 |
we closed the tab, you can check |
April 10, 2023 at 12:44 pm #13437411 | |
Sumit Supporter
Languages: English (English ) Timezone: Asia/Kolkata (GMT+05:30) |
May I know where you have added this script? |
April 10, 2023 at 1:41 pm #13437491 | |
louisN-4 |
its inside functions.php and if you load the site from the same browser you are logged in, you will not be served with cache, try even incognito admin and then run in another tab the |
April 10, 2023 at 2:29 pm #13437719 | |
Sumit Supporter
Languages: English (English ) Timezone: Asia/Kolkata (GMT+05:30) |
Nevermind I found it here in child theme functions/wpmlsupp-10550_fix.php So I checked the caching setting and found you have turned on Cache WP-Admin in LiteSpeed object cache and that object caching giving inaccurate results to the script. You may see higher CPU and RAM uses please be patient I will update you once it is finished. |
April 10, 2023 at 2:47 pm #13437797 | |
louisN-4 |
so you don't need access to wpmlsupp-10550_fix.php ? |
April 10, 2023 at 3:21 pm #13437943 | |
louisN-4 |
thanks for the update and we can keep your disable you did on Cache WP-Admin in LiteSpeed and how long do you expect the process to end? ONCE IT FINISHES DELETE pm and after do what you need through wpml? |
April 10, 2023 at 5:16 pm #13439023 | |
Sumit Supporter
Languages: English (English ) Timezone: Asia/Kolkata (GMT+05:30) |
Hi, This is taking too much time to finish. I don't think we can make it like this so I have converted it to WP CLI command. With WP CLI command you can ask server support to run it and then turn on the caching if you wish in backend and continue working. Please follow these new steps:- wp DeleteMediaDuplicates Please ask them to log the output of this command in a file so we can have it later if needed. I will keep checking mails when the command is finished. Thanks |
April 11, 2023 at 1:17 pm #13446195 | |
louisN-4 |
Analyze Content : 100% [===============================================================================================================================================================] 55:39 / 50:49Error: באתר זה אירעה שגיאה קריטית.מידע נוסף על ניפוי תקלות בוורדפרס. באתר זה אירעה שגיאה קריטית. Here is the verbose output: Whats next? |