Skip Navigation

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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: America/Los_Angeles (GMT-08:00)

This topic contains 22 replies, has 2 voices.

Last updated by Bobby 1 year, 11 months ago.

Assisted by: Bobby.

Author Posts
November 29, 2022 at 7:08 pm #12557443

hubertP

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

12555341-wpml2_16.png
November 30, 2022 at 6:20 pm #12565657

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

Hi there,

At the moment is WPML installed and activated?

Please use your FTP or file manager and navigate to wp-content/languages/ is the wpml folder there?

Go to WPML->Support->Troubleshooting->Click on the Generate .mo files button and let it run

Let me know your results, please.

December 2, 2022 at 5:07 pm #12580013

hubertP

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.

December 2, 2022 at 5:14 pm #12580025

hubertP

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)

December 2, 2022 at 5:18 pm #12580055

hubertP

As far as access rights to the wpml directory are concerned, everything is fine

December 2, 2022 at 7:44 pm #12580663

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

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.

Thank you,
Bobby

December 4, 2022 at 2:43 pm #12586511

hubertP

we also have information that the mere activation of your plugin generates large CPU resources with several visits to the site

December 5, 2022 at 10:41 pm #12594923

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

Hello,

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.

December 6, 2022 at 7:23 am #12596441

hubertP

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

December 6, 2022 at 8:48 am #12596937

hubertP

leaving screen databas,though that's probably a different topic.

I see that there may already be a solution to this topic with tables in the database, here:

https://wpml.org/errata/reducing-size-of-icl_translate_job-icl_translate-and-other-wpml-tables/

Can you share this plugin with me so I don't have to start a new topic.

I proszę przyjrzyj się problemowi który opisałem powyżej. Dzięki.

wpml.png
December 6, 2022 at 7:32 pm #12601823

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

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.

Screen Shot 2022-12-06 at 10.57.27 AM.png
December 6, 2022 at 10:12 pm #12602485

hubertP

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.

Thanks for the plugin

December 7, 2022 at 7:55 am #12604413

hubertP

The plugin you sent me requires payment and connecting the card before downloading. Can you send it to me some other way?

December 8, 2022 at 1:55 am #12610949

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

Try this link please
hidden link

For the .mo files, can you please verify the following:

1. Am I reffering to the correct queries in query monitor if not share with me where I can generate what you see.

2. Are you able to reproduce the same behavior in the sandbox I created with the query monitor?

December 8, 2022 at 7:38 am #12612045

hubertP

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.

I see a similar error not resolved here as well as in other forums.
https://wpml.org/forums/topic/wpml-requesting-certain-files-that-are-not-available/

The topic ‘[Closed] .mo files not found’ is closed to new replies.