此用户没有收藏的主题。
收藏的论坛主题
创建的论坛主题
状态 |
主题
|
支持者 | 参与者 | 帖子 | 最新活动 |
---|---|---|---|---|---|
Deprecated: urlencode() issue breaks new translated page
发起人:marjaK-2 在:English Support |
|
0 | 5 | 1 months, 4 weeks前 | |
Optimizing the database
发起人:marjaK-2
在:English Support
Problem: SELECT p.ID FROM `93lzr5_posts` p LEFT JOIN `93lzr5_icl_translations` t ON p.ID = t.element_id WHERE p.post_type = 'attachment' AND t.element_id IS NULL; DELETE pm FROM `93lzr5_postmeta` pm WHERE pm.post_id IN (SELECT p.ID FROM `93lzr5_posts` p LEFT JOIN `93lzr5_icl_translations` t ON p.ID = t.element_id WHERE p.post_type = 'attachment' AND t.element_id IS NULL); DELETE p FROM `93lzr5_posts` p LEFT JOIN `93lzr5_icl_translations` t ON p.ID = t.element_id WHERE p.post_type = 'attachment' AND t.element_id IS NULL; Please ensure to perform these actions on a staging site and not on the live site. If this solution does not apply or is outdated, we recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket. |
|
0 | 13 | 4 months, 2 weeks前 |