- 상태
- 해결됨
- 보고된 제품
- WPML Multilingual CMS 4.7.0
- 해결된 버전
- WPML 4.7.2
- 주제 태그
- Compatibility, Performance
문제 개요
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 > 언어”에서 일부 언어를 제거할 수 있습니다.