Skip to content Skip to sidebar

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

Problem:
The client is experiencing a lot of deprecated messages in their log files.
Solution:
We recommend ensuring that you have a backup of your site before making any changes. It appears that the memory limit in your WordPress setup might be incorrectly configured. You should set the WP Memory Limit in your

wp-config.php

file by adding the following lines:

define('WP_MEMORY_LIMIT', '512M');

define('WP_MAX_MEMORY_LIMIT', '512M');

Please insert these lines right before the "/* That's all, stop editing! Happy publishing. */" line in the

wp-config.php

file. For more details on editing this file, visit WordPress Memory Increase Documentation.

If this solution does not resolve the issue or seems irrelevant due to being outdated or not applicable to your 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 further assistance is needed, 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 4 replies, has 0 voices.

Last updated by mirsadS 2 weeks, 4 days ago.

Assisted by: Lucas Vidal de Andrade.

Author Posts
January 19, 2026 at 10:26 am #17741816

mirsadS

Hi,

There are a lot of depricated messsages in the log.
You can see that in the image above from my previous message. And that is not all of the depricated messages.

How do you want me to share them?
Pasting them in here is probably not an option since there are a lot of them.

January 19, 2026 at 10:33 am #17741850

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: Europe/Vienna (GMT+01:00)

I checked your website again, and noticed that the WPML plugins are up-to-date. Did you manage to update them without errors?

I want to know if the issue persists.

January 19, 2026 at 1:12 pm #17742681

mirsadS

Hi,

The wpml plugins have been up to date for a while now. Can't remember if the errors triggerd back then.
But I just tried updating another plugin, and among some fatal errors one of them was this, which I assume is WPML.

[19-Jan-2026 13:09:47 UTC] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 81920 bytes) in /web/com/www.systemedstrom.com/wp-content/plugins/sitepress-multilingual-cms/vendor/composer/ClassLoader.php on line 472

January 19, 2026 at 2:04 pm #17742883

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: Europe/Vienna (GMT+01:00)

Thanks for clarifying. Ensure to have a backup before proceeding.

I checked your debug info and noticed that your memory might be incorrectly set up (it shows as '512', instead of the expected '512M'). You can set WP Memory Limit in your wp-config.php file by adding (or replacing previous existing settings) the following code:

define( 'WP_MEMORY_LIMIT', '512M' );
define( 'WP_MAX_MEMORY_LIMIT', '512M' );

See:

https://wordpress.org/support/article/editing-wp-config-php/#increasing-memory-allocated-to-php

for details.

Make sure to add the above code right before the "/* That's all, stop editing! Happy publishing. */” line.

Let me know if that fixes the issue.

January 19, 2026 at 2:26 pm #17742924

mirsadS

Hi,

Yes I saw that as well when i checked the wp-config now.
I have changed to
define( 'WP_MEMORY_LIMIT', '512M' )
define( 'WP_MAX_MEMORY_LIMIT', '1024M' );

and I could update the plugins now. Thanks!