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.

This topic contains 1 reply, has 2 voices.

Last updated by Rohan Sadanandan 4 weeks ago.

Assigned support staff: Rohan Sadanandan.

Author Posts
September 17, 2019 at 8:32 am #4586421

albertoM-5

I received an automatic email from wordpress 5.2 where it gave me this error.
An E_ERROR error was caused on line 18 of the file /home/318529.cloudwaysapps.com/pruvjdhvwg/public_html/wp-content/plugins/sitepress-multilingual-cms/classes/wp-core-hooks/post/class-wpml -remove-pages-not-in-current-language.php. Error message: Allowed memory size of 268435456 bytes exhausted (tried to allocate 19193856 bytes)

the site seems to work, but occasionally with a 503 error

September 17, 2019 at 10:05 am #4587411

Rohan Sadanandan
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello,

Thank you for contacting WPML Support.

Please update the WP Memory Limit to at least 128MB which is the minimum requirement for WPML: https://wpml.org/home/minimum-requirements/

Add this code to your wp-config.php to increase WP memory:

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

Paste it just before:

/* That's all, stop editing! Happy publishing. */

Thanks,
Rohan