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 thread is resolved. Here is a description of the problem and solution.

Problema: Quando attivo String Translation ricevo questo errore: "Fatal error: Allowed memory size of 134217728 bytes exhausted" Soluzione: incrementare il valore di WP Memory Limit aggiungendo questa riga in mezzo al file wp-config.php (dopo il tag di apertura del php)

define( 'WP_MEMORY_LIMIT', '256M' ); Documentazione utile: https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

Etichettato: 

This topic contains 2 risposte, has 2 voci.

Last updated by robertoC-42 12 mesi fa.

Assigned support staff: Vincenzo.

Autore Post
October 24, 2018 at 3:32 pm #2847091

robertoC-42

Tell us what you are trying to do?
I have to install the English language on hidden link.
To do this I installed and initially not activated "WooCommerce Multilingual", "WPML Multilingual CMS", "WPML Translation Management", "WPML String Translation" and "WPML Media Translation".
At a later time, after installing all the necessary plugins, I activated the "WooCommerce Multilingual" and registered the product in our private area of ​​WPML.org through the use of the "Key" related to the site hidden link.
Then I activated the "WPML Multilingual CMS", the "WPML Translation Management" and the "WPML Media Translation". Until now everything works correctly.
Finally I activate the "WPML String Translation" and the site is no longer reachable and showing the following error: "Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 81 bytes) in /home/cx1sugls/public_html/wp-includes/wp-db.php on line 1906". You can no longer browse the site and view the site. Waiting for an answer, I wish you the best regards

What is the link to your site?
hidden link

October 24, 2018 at 3:44 pm #2847158

Vincenzo
Supporter

Languages: Inglese (English ) Italiano (Italiano )

Timezone: Europe/Rome (GMT+02:00)

Salve e grazie per aver contattato il supporto WPML!

Il problema sembra causato dal valore di WP Memory Limit.

Per incrementare il valore di WP Memory Limit aggiungi queste righe in mezzo al file wp-config.php (dopo il tag di apertura del php)

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

❌ IMPORTANTE ❌ Non inserire la riga alla fine del file ma sempre prima del seguente commento riguardo la fine delle modifiche):

/* Finito, interrompere le modifiche! Buon blogging. */

Il file wp-config.php si trova nella cartella principale di WordPress.

Puoi verificare quale sia il valore attuale di WP Memory Limit da WPML -> Assistenza nella sezione Info

Maggiori informazioni qui:
- https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

Fammi sapere se così risolvi o se hai bisogno di maggiori informazioni.

Grazie

October 25, 2018 at 8:41 am #2849058

robertoC-42

Problema risolto. Grazie mille.