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.
I resolved the issue by switching from PHP 8.3 back to 8.1.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.