Người dùng này không có chủ đề yêu thích nào.
Chủ đề diễn đàn yêu thích
Chủ đề diễn đàn đã tạo
Trạng thái |
Chủ đề
|
Người hỗ trợ | Số người tham gia | Bài viết | Độ mới |
---|---|---|---|---|---|
I have built a website using WordPress and used the WPML multilingual plugin to automatically trans…
Bắt đầu bởi: jackZ-5
trong: English Support
Problem: /wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/wpml/src/Infrastructure/WordPress/Component/Item/Application/Query/SearchQuery/QueryBuilder/ManyLanguagesStrategy/SearchQueryBuilder.php Replace: LEFT JOIN wp_icl_translations target_t ON target_t.trid = source_t.trid AND target_t.language_code IN ({$gluedEscapedLanguageCodes})<br />LEFT JOIN wp_icl_translation_status target_ts ON target_ts.translation_id = target_t.translation_id With: LEFT JOIN {$this->queryPrepare->prefix()}icl_translations target_t ON target_t.trid = source_t.trid AND target_t.language_code IN ({$gluedEscapedLanguageCodes})<br />LEFT JOIN {$this->queryPrepare->prefix()}icl_translation_status target_ts ON target_ts.translation_id = target_t.translation_id Apply the same changes in: /wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/wpml/src/Infrastructure/WordPress/Component/Item/Application/Query/SearchQuery/QueryBuilder/ManyLanguagesStrategy/SearchPopulatedTypesQueryBuilder.php This modification ensures that the query uses the correct custom prefix instead of the hardcoded 'wp_'. If this solution does not resolve your issue, or if it seems outdated or irrelevant to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If problems persist, please open a new support ticket. |
|
0 | 2 | 1 months, 1 weeks trước | |
Dear Sir/Madam, I am new to WPML. After using WPML to automatically translate all content, my websit…
Bắt đầu bởi: jackZ-5 trong: English Support |
|
0 | 2 | 1 months, 2 weeks trước |