Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is experiencing a fatal error reported by "Fatal Error Notify" due to memory exhaustion when switching the website language from French to English on the page /wheelchair-lifts/. The error message indicates that the allowed memory size is exhausted. Clearing the cache temporarily fixes the issue.
Solution:
We recommend disabling the "Fatal Error Notify" plugin and then monitoring the site for errors by checking the

/wp-content/debug.log

file. If the error persists, it might not be related to WPML but could be a false notification from the "Fatal Error Notify" plugin. If the error does not appear in the debug log and cannot be replicated on the staging site with the plugin disabled, the issue might be with the plugin itself sending false notifications.

Please note that this solution might be outdated or not applicable to your specific case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket at WPML support forum.

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: 

This topic contains 0 reply, has 1 voice.

Last updated by Andreas W. 5 months, 2 weeks ago.

Assisted by: Andreas W..

Author Posts
January 29, 2025 at 9:42 pm #16648732

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

I have now enabled WP DEBUG on the staging site, and after running some tests I can not yet confirm this error.

Do you maybe have an idea what exactly triggers this error?

The only issue I can confirm so far is that Elementor does not open, but this is also the case if I disable WPML.

January 29, 2025 at 9:46 pm #16648750

danielS-149

I was able to trigger it: hidden link

Visit either this page: hidden link
Or : hidden link

Now both of them have fatal errors. Try to switch from EN to FR on these two pages and you'll get it.

I will not clear cache.

January 29, 2025 at 9:52 pm #16648758

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

My apologies, but I do not see the mentioned error on those pages (backend or frontend) and also the debug.log does not show such error:

fatal error due to Allowed memory size of 1073741824 bytes exhausted...

Could you please send me a screenshot?

January 29, 2025 at 9:56 pm #16648761

danielS-149

I'm receiving those error through an alerting plugin in the backend. See below. An then regular fatal error.

error-logs-fatal.png
Mail-Mehdi-Mazhari-Outlook-01-29-2025_04_54_PM.png
January 29, 2025 at 10:38 pm #16648892

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

This could be a false notification from "Fatal Error Notify".

Such an error usually would break the front and sometimes even the backend and the site would not be available.

I have enabled WP DEBUG to write a log and to display errors on the site and I can not confirm such an error.

See /wp-content/debug.log

If such error would exist, it would be inside the log.

Please disable "Fatal Error Notify" and let me know if this error appears inside the debug.log.

January 30, 2025 at 1:54 pm #16652134

danielS-149

Okay, I will keep object cache disabled. I can see the fatal error. Thanks.

January 30, 2025 at 4:29 pm #16652857

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Please disable "Fatal Error Notify" and let me know if this error appears inside the debug.log.

January 30, 2025 at 4:32 pm #16652867

danielS-149

Disabled "Fatal error notify" on staging. I just disabled the object cache on production because I don't want people to see a fatal error. Two colleagues reported the fatal error earlier. We definitely have that, Andreas. Sorry, I can't provide more information. Thanks.

January 30, 2025 at 5:37 pm #16653133

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

I deleted the debug.log on the staging site, went to

hidden link
and
hidden link

and

hidden link
and
hidden link

The reported error was not displayed on any of these pages and is not part of the debug.log.

There are only Deprecated Notices showing up which should not impact the site in its current state.

If you replicate the issue on the staging site without "Fatal Error Notify" then we can take further steps.

If you can not replicate the error, then this is a topic for the support of "Fatal Error Notify", as this plugin seems to send you false notifications.

January 30, 2025 at 7:46 pm #16653306

danielS-149

Andreas, the plugin doesn't matter to me. I'm seeing a fatal error after a long loading time. I just installed the plugin to catch the issue and then clear the cache. That's okay though I disabled the object caching and the problem was resolved.

January 30, 2025 at 7:52 pm #16653316

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

I am sorry to repeat myself, but I could not catch the mentioned error on the staging site.

Please test on the staging site if you can recreate the error while "Fatal Error Notify" is disabled, as this seems to be a false positive send by this plugin.