we got information from the hosting that we have a huge number of files that are required for page loading and there are no files related to wpml.
I will add that I uninstalled wpml and all other plugins associated with it plus clicked and generated new MO files. Still, nothing helped
yes, there is a wpml directory with .mo files in it. In panleu wp, as you described, it generates a new .mo file, however, in the wpml directory, I don't see any 'new' files there after doing this task, in the sense of some new file with a new date, should a new file be created? We got a list of about 10,000 enoent errors that the system tries to load after entering the page that are not there, many of them are .mo files.
Below is just a small part of what we got from hosting
[pid 2890633] access("/home/webdev/public_html/wp-content/languages/wpml/ sitepress-multilingual-cms-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("/home/webdev/public_html/wp-content/languages/wpml/ updraftplus -pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("https://cdn.wpml.org/home/webdev/public_html/wp-content/languages/wpml/acfml-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("https://cdn.wpml.org/home/webdev/public_html/wp-content/languages/wpml/bbpress-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("https://cdn.wpml.org/home/webdev/public_html/wp-content/languages/wpml/complianz-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("https://cdn.wpml.org/home/webdev/public_html/wp-content/languages/wpml/contact-form-7-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("/home/webdev/public_html/wp-content/languages/wpml/cookie notice-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("https://cdn.wpml.org/home/webdev/public_html/wp-content/languages/wpml/cx-plugin-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("https://cdn.wpml.org/home/webdev/public_html/wp-content/languages/wpml/dflip-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("https://cdn.wpml.org/home/webdev/public_html/wp-content/languages/wpml/drag-and-drop-multiple-file-upload-contact-form-7-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("https://cdn.wpml.org/home/webdev/public_html/wp-content/languages/wpml/image_sizes-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("https://cdn.wpml.org/home/webdev/public_html/wp-content/languages/wpml/image-sizes-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("https://cdn.wpml.org/home/webdev/public_html/wp-content/languages/wpml/mabel-shoppable-images-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("https://cdn.wpml.org/home/webdev/public_html/wp-content/languages/wpml/mabel-shoppable-images-lite-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("/home/webdev/public_html/wp-content/languages/wpml/main menu pl menu-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("/home/webdev/public_html/wp-content/languages/wpml/menu top pl menu-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("https://cdn.wpml.org/home/webdev/public_html/wp-content/languages/wpml/prosperplast-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("https://cdn.wpml.org/home/webdev/public_html/wp-content/languages/wpml/query-monitor-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("https://cdn.wpml.org/home/webdev/public_html/wp-content/languages/wpml/sitepress-multilingual-cms-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("https://cdn.wpml.org/home/webdev/public_html/wp-content/languages/wpml/woo_ce-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("https://cdn.wpml.org/home/webdev/public_html/wp-content/languages/wpml/woo-variation-swatches-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("https://cdn.wpml.org/home/webdev/public_html/wp-content/languages/wpml/woo-variation-swatches-pro-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("https://cdn.wpml.org/home/webdev/public_html/wp-content/languages/wpml/woocommerce-bookings-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("https://cdn.wpml.org/home/webdev/public_html/wp-content/languages/wpml/woolementor-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("https://cdn.wpml.org/home/webdev/public_html/wp-content/languages/wpml/wordpress-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("https://cdn.wpml.org/home/webdev/public_html/wp-content/languages/wpml/wordpress-language-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("https://cdn.wpml.org/home/webdev/public_html/wp-content/languages/wpml/wordproof-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("/home/webdev/public_html/wp-content/languages/wpml/wp endpoints-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("https://cdn.wpml.org/home/webdev/public_html/wp-content/languages/wpml/wp_all_import_plugin-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("https://cdn.wpml.org/home/webdev/public_html/wp-content/languages/wpml/wpml-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("https://cdn.wpml.org/home/webdev/public_html/wp-content/languages/wpml/wpml_media-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("https://cdn.wpml.org/home/webdev/public_html/wp-content/languages/wpml/wpml-page-builders-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("https://cdn.wpml.org/home/webdev/public_html/wp-content/languages/wpml/wpml-transation-manager-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("https://cdn.wpml.org/home/webdev/public_html/wp-content/languages/wpml/wpml-translation-manager-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] stat("https://cdn.wpml.org/home/webdev/public_html/wp-content/languages/wpml/wpml-translation-management-pl_PL.mo", 0x7fff6a827580) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] stat("https://cdn.wpml.org/home/webdev/public_html/wp-content/languages/wpml/tinymce-advanced-pl_PL.mo", 0x7fff6a827580) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] stat("https://cdn.wpml.org/home/webdev/public_html/wp-content/languages/wpml/updraftplus-pl_PL.mo", 0x7fff6a827580) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] stat("https://cdn.wpml.org/home/webdev/public_html/wp-content/languages/wpml/default-pl_PL.mo", 0x7fff6a827580) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] stat("https://cdn.wpml.org/home/webdev/public_html/wp-content/languages/wpml/woocommerce-multilingual-pl_PL.mo", 0x7fff6a827580) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] stat("https://cdn.wpml.org/home/webdev/public_html/wp-content/languages/wpml/acf-pl_PL.mo", 0x7fff6a827580) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] stat("https://cdn.wpml.org/home/webdev/public_html/wp-content/languages/wpml/sitepress-pl_PL.mo", 0x7fff6a827580) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] stat("https://cdn.wpml.org/home/webdev/public_html/wp-content/languages/wpml/installer-pl_PL.mo", 0x7fff6a827580) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] stat("https://cdn.wpml.org/home/webdev/public_html/wp-content/languages/wpml/wpml-media-pl_PL.mo", 0x7fff6a827580) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] stat("https://cdn.wpml.org/home/webdev/public_html/wp-content/languages/wpml/wordpress-seo-pl_PL.mo", 0x7fff6a827580) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("wp-content\\plugins\\wpml-media-translation\\locale\\wpml-media-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("wp-content\\languages\\plugins\\updraftplus-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("wp-content\\languages\\plugins\\wordpress-seo-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("wp-content\\plugins\\woocommerce-multilingual\\locale\\woocommerce-multilingual-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("wp-content\\plugins\\advanced-custom-fields-pro\\lang\\acf-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
[pid 2890633] access("wp-content\\plugins\\sitepress-multilingual-cms\\locale\\wpml-translation-management-pl_PL.mo", R_OK) = -1 ENOENT (Nie ma takiego pliku ani katalogu)
I would like to request temporary access (wp-admin and FTP) to your site to test the issue.
(preferably to a test site where the problem has been replicated if possible)
**Before we proceed It is necessary to take FULL BACKUP of your database and your website. Providing us with access, you agree that a backup has been taken **
I often use the Duplicator plugin for this purpose: http://wordpress.org/plugins/duplicator/
You will find the needed fields for this below the comment area when you log in to leave your next reply.
The information you enter is private which means only you and I have access to it.
NOTE: If access to the live site is not possible and the staging site does not exist please provide me with a duplicator package created with the duplicator plugin.
I was able to run the .mo files generation tab and it worked as expected. Currently, I am not seeing anything out of the ordinary with the WPML languages.
Do you know if a third party plugin is possibly triggering these errors?
You can use 76.86.193.85 to add my IP and provide me with the FTP access where I can review these errors.
I've sent your data to hsoting so they can add you.
Then why are you saying it's ok? after clicking the generate .mo files button and successful completion? yes, it works I wrote about it (the file is not always created), but I wrote that we have a lot of .mo files at the start of the page that are trying to load and they are not there.
I posted the logs above.
Did you run wp query monitor?
after entering the 'language' tab on the front, I see a large number of .mo files with the value not found - these are a few of them, which are much more in the logs - that's exactly how I described my problem, I want to get rid of them because they delay the start of the page.
I left part of the logs where you can see the ENOENT files related to wpml. I'm not the first person on the forum to ask this, but I don't think you can answer it except to generate a new file that does nothing but create new ones. Even here https://wpml.org/forums/topic/old-files-mo-deleted/
I also added that running wpml causes very high CPU usage, with WPML disabled it doesn't. The website works much faster. The post_meta table is huge and I see I'm not the first one to have this problem on the forum. As with enoent files.
I know you're about to write about default themes and other superfluous features, but we really need help with wpml. Please run at least query monitor and check what I mean, languages tab, although it seems to me that you can check more after the above logs
Please note that some increase in queries and cpu is expected as WPML does frequent queries to the database, however, it should not be high enough to affect your site.
I have created a sandbox environment where I have attempted to reproduce this behavior but I am not able to -- please see hidden link
I have included a screenshot of what I see, if you are referring to this, this is expected as what happens is WPML will check for the .mo files and if they exist they will get pulled for translations. All themes and plugins are checked for this. WordPress itself does a similar check as well when using a different language.
For the plugin here are the steps :
Here is the plugin
hidden link
Have in mind that this is not an official plugin and you should run it by your own responsibility. Please always have a backup of your site.
Steps
1) Download, install, and activate the plugin
2) Visit Tools > WPML Delete jobs
3) You will see a text area prefilled with jobs IDs. These are 10 suggested jobs IDs to delete first. These jobs IDs are the same as you will see in WPML > TM > Jobs. You can remove job IDs if the customer doesn't want to touch a few pages/posts.
4) Click Delete and wait, once deleted you will see new 10 IDs and so on until there are no jobs with revision.
Then if it checks for existence, why does wpml look for and require files that don't exist? taking, for example, several thousand such files generates a server response time of 1-2s, which is a very bad result. I don't understand it at all, the logs are full of .mo enoent files. Can't we do anything about it? What is generating these queries? how can I remove those requests for files that are not anywhere that php generates at the start of the page. What requires / calls and what checks for files that are not physically present. From what I found out, these files were few at the start of the page, now there are several thousand of them, which causes the page to load longer.
1. I don't know if you can see it because we got this information from the hosting. This is what I found in querymonitor myself.
Can I somehow send you the entire error file? e.g. txt? It will be the same as what I sent you at the top of this topic, but there will be a lot more.
This is the php trace that we got from the hosting, these are processes generated at the start of the page that delay its start due to the fact that all files do not exist. The vast majority of them are wpml files that simply do not physically exist on the server, e.g. .mo files
2. Unfortunately, I am not able to do it from the panel side.