- Stato
- Risolto
- Segnalato per
- WPML Multilingual CMS 4.7.0
- Risolto in
- WPML 4.7.2
- Tag dell’argomento
- Compatibility, Performance
Panoramica del problema
In WPML 4.7.0 e WPML 4.7.1, se è attivo un gran numero di lingue, il plugin Gestione traduzioni non si carica a causa di un errore del database:
“WordPress database error: Too many tables; MySQL can only use 61 tables in a join for query”
WordPress database error Too many tables; MySQL can only use 61 tables in a join for query
SELECT p.post_type
FROM wp_posts p
INNER JOIN wp_icl_translations source_t
ON source_t.element_id = p.ID
AND source_t.element_type = CONCAT('post_', p.post_type)
AND source_t.language_code = 'en'
LEFT JOIN wp_icl_translations target_t_sq
ON target_t_sq.trid = source_t.trid
AND target_t_sq.language_code = 'sq'
LEFT JOIN wp_icl_translation_status target_ts_sq
ON target_ts_sq.translation_id = target_t_sq.translation_id
... etc for all languages
Questo problema impedisce a Gestione traduzioni di funzionare correttamente.
Soluzione alternativa
Il nostro team di sviluppo sta analizzando attivamente questo problema. Nel frattempo, come soluzione temporanea puoi tornare alla versione precedente:
In alternativa, puoi rimuovere alcune lingue in “WPML > Lingue”.