WPML

סקירת התקלה

ב־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 > שפות”.

כל התקלות הידועות