- สถานะ
- แก้ไขแล้ว
- รายงานสำหรับ
- 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 > ภาษา”