문제 개요
WPML 4.7.0 및 WPML 4.7.1에서 많은 수의 언어가 활성화되어 있으면 데이터베이스 오류로 인해 번역 관리 플러그인이 로드되지 않습니다:
“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이 문제로 인해 번역 관리가 제대로 작동하지 않습니다.
임시 해결 방법
이 문제는 WPML 4.7.2에서 해결되었습니다. 업데이트하면 사이트에서 문제가 해결되므로, 아직 업데이트할 수 없는 경우에만 이 임시 해결 방법이 필요합니다.
개발팀에서 이 문제를 적극적으로 조사하고 있습니다. 그동안 임시 해결책으로 이전 버전으로 롤백할 수 있습니다:
또는 “WPML언어”에서 일부 언어를 제거할 수 있습니다.