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.

Tagged: 

This topic contains 4 replies, has 2 voices.

Last updated by Mohamed Sayed 1 year, 7 months ago.

Assisted by: Mohamed Sayed.

Author Posts
May 13, 2023 at 8:04 am #13639961

christianD-64

Tell us what you are trying to do?
i just wanted to deactive the WPML to try something in oxygen and after i deactived it returned an error from database

fatalerror.png
May 14, 2023 at 10:28 am #13642349

Mohamed Sayed

Hi Christian,
Thanks for contacting WPML support, I will be glad to help you.

This error means that your site requires more memory than the default memory provided by your server, and I don't think that it's caused by WPML since it's already disabled.

To fix this issue, you can follow this tutorial to increase the memory limit: hidden link

Or you can contact your hosting provider and ask them to increase it.

I hope that you will find this answer helpful.

Kind regards,
Mohamed

May 15, 2023 at 7:23 am #13644993

christianD-64

i did that to the wp-config.php
define( 'WP_MEMORY_LIMIT', '256M' );
but error still the same

fatalerror.png
May 15, 2023 at 9:35 am #13646501

Mohamed Sayed

Hi,

As I mentioned, if WPML is already disabled then it's not causing this error.

Please try to increase the limit to 512MB by adding the following code in your wp-config.php file, right before the /* That’s all, stop editing! Happy publishing. */ line:

/** Memory Limit */
define('WP_MEMORY_LIMIT', '512M');

If that didn't help, I suggest disabling all plugins, switching to a WP default theme then enabling them one by one to find out what is causing this error. Please check here for more details: https://wordpress.org/support/topic/allowed-memory-size-exhausted-in-wp-db-php-on-line-3158/