Symptoms:
We are getting an infinite recursion within WPML, resulting in an error 500 page. This is the output from the error log:
[07-Apr-2025 15:30:34 UTC] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 20480 bytes) in /home/guidersde/staging.guiders.de/wp-includes/functions.php on line 718
[07-Apr-2025 15:30:44 UTC] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 262144 bytes) in /home/guidersde/staging.guiders.de/wp-includes/class-wp-term-query.php on line 308
[07-Apr-2025 15:30:58 UTC] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 262144 bytes) in /home/guidersde/staging.guiders.de/wp-includes/class-wp-term-query.php on line 308
[07-Apr-2025 15:31:23 UTC] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 262144 bytes) in /home/guidersde/staging.guiders.de/wp-includes/class-wp-term-query.php on line 308
Welcome to the WPML support forum. Before passing this thread to my colleague, I would like to share some suggestions and possible solutions for the issues you mentioned.
You may be facing this issue because of compatibility conflicts. To make sure, please follow the following steps.
a) Backup your site first[Mandatory]
b) Switch for a moment to a WordPress default theme like 2025
c) Deactivate all the plugins that are not related to WPML
d) Then check if the issue exists or not
e) If the issue is gone, activate the plugins as a group of three or four to find which one has an interaction issue
f) Switch back to the original theme of the site
Which hosting service are you currently using? Please share more details about your hosting plan.