Este es el foro de soporte técnico de WPML, el plugin multilingüe de WordPress.
Todas las personas pueden leerlo pero solo los clientes de WPML pueden ingresar comentarios. El equipo de WPML responde en los foros 6 días a la semana, 22 horas por día.
Este tema contiene 4 respuestas, tiene 0 voces.
Última actualización por Prosenjit Barman hace 1 mes, 2 semanas.
Asistido por: Prosenjit Barman.
| Autor | Publicaciones |
|---|---|
| marzo 11, 2026 a las 17:13 #17890020 | |
|
javierN-13 |
Hola, |
| marzo 13, 2026 a las 11:58 #17895414 | |
|
Prosenjit Barman Partidario de WPML desde 03/2023
Idiomas: Inglés (English ) Zona horaria: Asia/Dhaka (GMT+06:00) |
Hi there! I'm Prosenjit from the WPML Development Team, and I’ll be happy to assist you with this issue. Before we continue, I’d like to let you know that my Spanish-speaking colleagues are currently unavailable, which is why I picked up your ticket and am replying in English. I hope that’s okay. If you prefer support in Spanish, please let me know in your next reply and we’ll do our best to arrange that. I understand the issue. Since you mentioned that the site was changed from a single site setup to a multisite, the error you encountered when trying to delete a language could be related to that migration. In cases like this, it is possible that some WPML-related data may have become inconsistent during the transition (for example, overwritten or mismatched database values). To properly understand the root cause and help you resolve it, I would like to request access to the site for a deeper investigation. Before sharing access, please make sure to take a full backup of both the website files and the database, as this type of issue may require more in-depth testing. I have enabled the private reply box for you, so you can securely share the access details there. Once you share the access, I’ll log in, investigate the issue carefully, and do my best to help you find a proper solution so you can continue using WPML smoothly. Looking forward to your response. We’re here to help. Best regards, |
| marzo 17, 2026 a las 08:03 #17902647 | |
|
Prosenjit Barman Partidario de WPML desde 03/2023
Idiomas: Inglés (English ) Zona horaria: Asia/Dhaka (GMT+06:00) |
Hi there, Thank you for sharing the access details. I investigated the WPML language deletion issue, and while checking the browser console, I noticed the following error: Can not delete post with ID: XXXX Here is what I found so far: The network currently shows these active sites: blog_id = 1 → / However, the database still contains additional WPML translation tables, such as: wp_6_icl_translations The failing post IDs shown in the console were found in those extra tables, not in the tables belonging to the currently active sites. I also noticed that new failing IDs continue to appear. This suggests there may be stale or inconsistent translation mappings in the database, and possibly some cross-database routing, caching, or custom hooks affecting the deletion process. To help us narrow this down, could you please confirm the following? - Is this multisite using HyperDB, LudicrousDB, or any custom database routing/sharding setup? It would also be very helpful if you could check the logs at the time the error occurs. Please share the following from the exact timestamp of one failed delete request: PHP error log/Web server log These details will help a lot in identifying the root cause. At the moment, the main concern is that the post ID returned in the API response does not exist in the tables of the active site, but it does appear in other database tables, which should not normally happen in this flow. Please let me know what you find. I’ll be happy to continue investigating and help find a solution to this issue. Best regards, |
| marzo 17, 2026 a las 11:26 #17903977 | |
|
javierN-13 |
Hi Prosenjit! Thanks for your help. I’m replying to the questions you asked me: - Is this multisite using HyperDB, LudicrousDB, or any custom database routing/sharding setup? - Are some site tables stored in a different database server or schema? - Are there any custom MU plugins or code snippets hooked into post deletion actions such as before_delete_post, delete_post, or similar? I check the logs and I'm copying the last lines of the log for you. I tried deleting a language again to reproduce the error: [17-Mar-2026 11:19:10 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the complianz-gdpr domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/customer/www/yuyobrujo.com/public_html/wp-includes/functions.php on line 6131 complianz-gdpr domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/customer/www/yuyobrujo.com/public_html/wp-includes/functions.php on line 6131 complianz-gdpr domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/customer/www/yuyobrujo.com/public_html/wp-includes/functions.php on line 6131 WHERE ( comment_approved = '1' ) AND comment_type NOT IN ('note') AND comment_type != 'order_note' AND comment_type != 'webhook_delivery' AND comment_type != 'action_log' AND wp_posts_to_exclude_reviews.post_type NOT IN ('product') AND icltr2.language_code = 'en' made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/hello-elementor/index.php'), get_header, locate_template, load_template, require_once('/themes/hello-elementor/header.php'), wp_body_open, do_action('wp_body_open'), WP_Hook->do_action, WP_Hook->apply_filters, wp_admin_bar_render, do_action_ref_array('admin_bar_menu'), WP_Hook->do_action, WP_Hook->apply_filters, wp_admin_bar_comments_menu, wp_count_comments, apply_filters('wp_count_comments'), WP_Hook->apply_filters, WC_Comments::wp_count_comments, get_comments, WP_Comment_Query->query, WP_Comment_Query->get_comments, WP_Comment_Query->get_comment_ids WHERE ( comment_approved = '0' ) AND comment_type NOT IN ('note') AND comment_type != 'order_note' AND comment_type != 'webhook_delivery' AND comment_type != 'action_log' AND wp_posts_to_exclude_reviews.post_type NOT IN ('product') AND icltr2.language_code = 'en' made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/hello-elementor/index.php'), get_header, locate_template, load_template, require_once('/themes/hello-elementor/header.php'), wp_body_open, do_action('wp_body_open'), WP_Hook->do_action, WP_Hook->apply_filters, wp_admin_bar_render, do_action_ref_array('admin_bar_menu'), WP_Hook->do_action, WP_Hook->apply_filters, wp_admin_bar_comments_menu, wp_count_comments, apply_filters('wp_count_comments'), WP_Hook->apply_filters, WC_Comments::wp_count_comments, get_comments, WP_Comment_Query->query, WP_Comment_Query->get_comments, WP_Comment_Query->get_comment_ids WHERE ( comment_approved = 'spam' ) AND comment_type NOT IN ('note') AND comment_type != 'order_note' AND comment_type != 'webhook_delivery' AND comment_type != 'action_log' AND wp_posts_to_exclude_reviews.post_type NOT IN ('product') AND icltr2.language_code = 'en' made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/hello-elementor/index.php'), get_header, locate_template, load_template, require_once('/themes/hello-elementor/header.php'), wp_body_open, do_action('wp_body_open'), WP_Hook->do_action, WP_Hook->apply_filters, wp_admin_bar_render, do_action_ref_array('admin_bar_menu'), WP_Hook->do_action, WP_Hook->apply_filters, wp_admin_bar_comments_menu, wp_count_comments, apply_filters('wp_count_comments'), WP_Hook->apply_filters, WC_Comments::wp_count_comments, get_comments, WP_Comment_Query->query, WP_Comment_Query->get_comments, WP_Comment_Query->get_comment_ids WHERE ( comment_approved = 'trash' ) AND comment_type NOT IN ('note') AND comment_type != 'order_note' AND comment_type != 'webhook_delivery' AND comment_type != 'action_log' AND wp_posts_to_exclude_reviews.post_type NOT IN ('product') AND icltr2.language_code = 'en' made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/hello-elementor/index.php'), get_header, locate_template, load_template, require_once('/themes/hello-elementor/header.php'), wp_body_open, do_action('wp_body_open'), WP_Hook->do_action, WP_Hook->apply_filters, wp_admin_bar_render, do_action_ref_array('admin_bar_menu'), WP_Hook->do_action, WP_Hook->apply_filters, wp_admin_bar_comments_menu, wp_count_comments, apply_filters('wp_count_comments'), WP_Hook->apply_filters, WC_Comments::wp_count_comments, get_comments, WP_Comment_Query->query, WP_Comment_Query->get_comments, WP_Comment_Query->get_comment_ids WHERE ( comment_approved = 'post-trashed' ) AND comment_type NOT IN ('note') AND comment_type != 'order_note' AND comment_type != 'webhook_delivery' AND comment_type != 'action_log' AND wp_posts_to_exclude_reviews.post_type NOT IN ('product') AND icltr2.language_code = 'en' made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/hello-elementor/index.php'), get_header, locate_template, load_template, require_once('/themes/hello-elementor/header.php'), wp_body_open, do_action('wp_body_open'), WP_Hook->do_action, WP_Hook->apply_filters, wp_admin_bar_render, do_action_ref_array('admin_bar_menu'), WP_Hook->do_action, WP_Hook->apply_filters, wp_admin_bar_comments_menu, wp_count_comments, apply_filters('wp_count_comments'), WP_Hook->apply_filters, WC_Comments::wp_count_comments, get_comments, WP_Comment_Query->query, WP_Comment_Query->get_comments, WP_Comment_Query->get_comment_ids WHERE ( ( comment_approved = '1' ) OR ( user_id = 1 AND comment_approved = '0' ) ) AND comment_post_ID = 49 AND comment_type NOT IN ('note') AND comment_parent = 0 AND comment_type != 'order_note' AND comment_type != 'webhook_delivery' AND comment_type != 'action_log' AND wp_posts_to_exclude_reviews.post_type NOT IN ('product') AND icltr2.language_code = 'en' ORDER BY wp_8_comments.comment_date_gmt ASC, wp_8_comments.comment_ID ASC complianz-gdpr domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/customer/www/yuyobrujo.com/public_html/wp-includes/functions.php on line 6131 complianz-gdpr domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/customer/www/yuyobrujo.com/public_html/wp-includes/functions.php on line 6131 WHERE ( comment_approved = '1' ) AND comment_type NOT IN ('note') AND comment_type != 'order_note' AND comment_type != 'webhook_delivery' AND comment_type != 'action_log' AND wp_posts_to_exclude_reviews.post_type NOT IN ('product') AND icltr2.language_code = 'en' made by require('wp-admin/menu.php'), wp_count_comments, apply_filters('wp_count_comments'), WP_Hook->apply_filters, WC_Comments::wp_count_comments, get_comments, WP_Comment_Query->query, WP_Comment_Query->get_comments, WP_Comment_Query->get_comment_ids WHERE ( comment_approved = '0' ) AND comment_type NOT IN ('note') AND comment_type != 'order_note' AND comment_type != 'webhook_delivery' AND comment_type != 'action_log' AND wp_posts_to_exclude_reviews.post_type NOT IN ('product') AND icltr2.language_code = 'en' made by require('wp-admin/menu.php'), wp_count_comments, apply_filters('wp_count_comments'), WP_Hook->apply_filters, WC_Comments::wp_count_comments, get_comments, WP_Comment_Query->query, WP_Comment_Query->get_comments, WP_Comment_Query->get_comment_ids WHERE ( comment_approved = 'spam' ) AND comment_type NOT IN ('note') AND comment_type != 'order_note' AND comment_type != 'webhook_delivery' AND comment_type != 'action_log' AND wp_posts_to_exclude_reviews.post_type NOT IN ('product') AND icltr2.language_code = 'en' made by require('wp-admin/menu.php'), wp_count_comments, apply_filters('wp_count_comments'), WP_Hook->apply_filters, WC_Comments::wp_count_comments, get_comments, WP_Comment_Query->query, WP_Comment_Query->get_comments, WP_Comment_Query->get_comment_ids WHERE ( comment_approved = 'trash' ) AND comment_type NOT IN ('note') AND comment_type != 'order_note' AND comment_type != 'webhook_delivery' AND comment_type != 'action_log' AND wp_posts_to_exclude_reviews.post_type NOT IN ('product') AND icltr2.language_code = 'en' made by require('wp-admin/menu.php'), wp_count_comments, apply_filters('wp_count_comments'), WP_Hook->apply_filters, WC_Comments::wp_count_comments, get_comments, WP_Comment_Query->query, WP_Comment_Query->get_comments, WP_Comment_Query->get_comment_ids WHERE ( comment_approved = 'post-trashed' ) AND comment_type NOT IN ('note') AND comment_type != 'order_note' AND comment_type != 'webhook_delivery' AND comment_type != 'action_log' AND wp_posts_to_exclude_reviews.post_type NOT IN ('product') AND icltr2.language_code = 'en' made by require('wp-admin/menu.php'), wp_count_comments, apply_filters('wp_count_comments'), WP_Hook->apply_filters, WC_Comments::wp_count_comments, get_comments, WP_Comment_Query->query, WP_Comment_Query->get_comments, WP_Comment_Query->get_comment_ids complianz-gdpr domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/customer/www/yuyobrujo.com/public_html/wp-includes/functions.php on line 6131 WHERE ( comment_approved = '1' ) AND comment_type NOT IN ('note') AND comment_type != 'order_note' AND comment_type != 'webhook_delivery' AND comment_type != 'action_log' AND wp_posts_to_exclude_reviews.post_type NOT IN ('product') AND icltr2.language_code = 'en' made by require_once('wp-admin/admin.php'), require('wp-admin/menu.php'), wp_count_comments, apply_filters('wp_count_comments'), WP_Hook->apply_filters, WC_Comments::wp_count_comments, get_comments, WP_Comment_Query->query, WP_Comment_Query->get_comments, WP_Comment_Query->get_comment_ids WHERE ( comment_approved = '0' ) AND comment_type NOT IN ('note') AND comment_type != 'order_note' AND comment_type != 'webhook_delivery' AND comment_type != 'action_log' AND wp_posts_to_exclude_reviews.post_type NOT IN ('product') AND icltr2.language_code = 'en' made by require_once('wp-admin/admin.php'), require('wp-admin/menu.php'), wp_count_comments, apply_filters('wp_count_comments'), WP_Hook->apply_filters, WC_Comments::wp_count_comments, get_comments, WP_Comment_Query->query, WP_Comment_Query->get_comments, WP_Comment_Query->get_comment_ids WHERE ( comment_approved = 'spam' ) AND comment_type NOT IN ('note') AND comment_type != 'order_note' AND comment_type != 'webhook_delivery' AND comment_type != 'action_log' AND wp_posts_to_exclude_reviews.post_type NOT IN ('product') AND icltr2.language_code = 'en' made by require_once('wp-admin/admin.php'), require('wp-admin/menu.php'), wp_count_comments, apply_filters('wp_count_comments'), WP_Hook->apply_filters, WC_Comments::wp_count_comments, get_comments, WP_Comment_Query->query, WP_Comment_Query->get_comments, WP_Comment_Query->get_comment_ids WHERE ( comment_approved = 'trash' ) AND comment_type NOT IN ('note') AND comment_type != 'order_note' AND comment_type != 'webhook_delivery' AND comment_type != 'action_log' AND wp_posts_to_exclude_reviews.post_type NOT IN ('product') AND icltr2.language_code = 'en' made by require_once('wp-admin/admin.php'), require('wp-admin/menu.php'), wp_count_comments, apply_filters('wp_count_comments'), WP_Hook->apply_filters, WC_Comments::wp_count_comments, get_comments, WP_Comment_Query->query, WP_Comment_Query->get_comments, WP_Comment_Query->get_comment_ids WHERE ( comment_approved = 'post-trashed' ) AND comment_type NOT IN ('note') AND comment_type != 'order_note' AND comment_type != 'webhook_delivery' AND comment_type != 'action_log' AND wp_posts_to_exclude_reviews.post_type NOT IN ('product') AND icltr2.language_code = 'en' made by require_once('wp-admin/admin.php'), require('wp-admin/menu.php'), wp_count_comments, apply_filters('wp_count_comments'), WP_Hook->apply_filters, WC_Comments::wp_count_comments, get_comments, WP_Comment_Query->query, WP_Comment_Query->get_comments, WP_Comment_Query->get_comment_ids WHERE ( ( comment_approved = '0' OR comment_approved = '1' ) ) AND comment_type NOT IN ('note') AND comment_type != 'order_note' AND comment_type != 'webhook_delivery' AND comment_type != 'action_log' AND wp_posts_to_exclude_reviews.post_type NOT IN ('product') AND icltr2.language_code = 'en' ORDER BY wp_8_comments.comment_date_gmt DESC complianz-gdpr domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/customer/www/yuyobrujo.com/public_html/wp-includes/functions.php on line 6131 complianz-gdpr domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/customer/www/yuyobrujo.com/public_html/wp-includes/functions.php on line 6131 complianz-gdpr domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/customer/www/yuyobrujo.com/public_html/wp-includes/functions.php on line 6131 complianz-gdpr domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/customer/www/yuyobrujo.com/public_html/wp-includes/functions.php on line 6131 complianz-gdpr domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/customer/www/yuyobrujo.com/public_html/wp-includes/functions.php on line 6131 WHERE ( comment_approved = '1' ) AND comment_type NOT IN ('note') AND comment_type != 'order_note' AND comment_type != 'webhook_delivery' AND comment_type != 'action_log' AND wp_posts_to_exclude_reviews.post_type NOT IN ('product') AND icltr2.language_code = 'en' made by require('wp-admin/menu.php'), wp_count_comments, apply_filters('wp_count_comments'), WP_Hook->apply_filters, WC_Comments::wp_count_comments, get_comments, WP_Comment_Query->query, WP_Comment_Query->get_comments, WP_Comment_Query->get_comment_ids WHERE ( comment_approved = '0' ) AND comment_type NOT IN ('note') AND comment_type != 'order_note' AND comment_type != 'webhook_delivery' AND comment_type != 'action_log' AND wp_posts_to_exclude_reviews.post_type NOT IN ('product') AND icltr2.language_code = 'en' made by require('wp-admin/menu.php'), wp_count_comments, apply_filters('wp_count_comments'), WP_Hook->apply_filters, WC_Comments::wp_count_comments, get_comments, WP_Comment_Query->query, WP_Comment_Query->get_comments, WP_Comment_Query->get_comment_ids WHERE ( comment_approved = 'spam' ) AND comment_type NOT IN ('note') AND comment_type != 'order_note' AND comment_type != 'webhook_delivery' AND comment_type != 'action_log' AND wp_posts_to_exclude_reviews.post_type NOT IN ('product') AND icltr2.language_code = 'en' made by require('wp-admin/menu.php'), wp_count_comments, apply_filters('wp_count_comments'), WP_Hook->apply_filters, WC_Comments::wp_count_comments, get_comments, WP_Comment_Query->query, WP_Comment_Query->get_comments, WP_Comment_Query->get_comment_ids WHERE ( comment_approved = 'trash' ) AND comment_type NOT IN ('note') AND comment_type != 'order_note' AND comment_type != 'webhook_delivery' AND comment_type != 'action_log' AND wp_posts_to_exclude_reviews.post_type NOT IN ('product') AND icltr2.language_code = 'en' made by require('wp-admin/menu.php'), wp_count_comments, apply_filters('wp_count_comments'), WP_Hook->apply_filters, WC_Comments::wp_count_comments, get_comments, WP_Comment_Query->query, WP_Comment_Query->get_comments, WP_Comment_Query->get_comment_ids WHERE ( comment_approved = 'post-trashed' ) AND comment_type NOT IN ('note') AND comment_type != 'order_note' AND comment_type != 'webhook_delivery' AND comment_type != 'action_log' AND wp_posts_to_exclude_reviews.post_type NOT IN ('product') AND icltr2.language_code = 'en' made by require('wp-admin/menu.php'), wp_count_comments, apply_filters('wp_count_comments'), WP_Hook->apply_filters, WC_Comments::wp_count_comments, get_comments, WP_Comment_Query->query, WP_Comment_Query->get_comments, WP_Comment_Query->get_comment_ids complianz-gdpr domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/customer/www/yuyobrujo.com/public_html/wp-includes/functions.php on line 6131 WHERE ( comment_approved = '1' ) AND comment_type NOT IN ('note') AND comment_type != 'order_note' AND comment_type != 'webhook_delivery' AND comment_type != 'action_log' AND wp_posts_to_exclude_reviews.post_type NOT IN ('product') AND icltr2.language_code = 'en' made by require_once('wp-admin/admin.php'), require('wp-admin/menu.php'), wp_count_comments, apply_filters('wp_count_comments'), WP_Hook->apply_filters, WC_Comments::wp_count_comments, get_comments, WP_Comment_Query->query, WP_Comment_Query->get_comments, WP_Comment_Query->get_comment_ids WHERE ( comment_approved = '0' ) AND comment_type NOT IN ('note') AND comment_type != 'order_note' AND comment_type != 'webhook_delivery' AND comment_type != 'action_log' AND wp_posts_to_exclude_reviews.post_type NOT IN ('product') AND icltr2.language_code = 'en' made by require_once('wp-admin/admin.php'), require('wp-admin/menu.php'), wp_count_comments, apply_filters('wp_count_comments'), WP_Hook->apply_filters, WC_Comments::wp_count_comments, get_comments, WP_Comment_Query->query, WP_Comment_Query->get_comments, WP_Comment_Query->get_comment_ids WHERE ( comment_approved = 'spam' ) AND comment_type NOT IN ('note') AND comment_type != 'order_note' AND comment_type != 'webhook_delivery' AND comment_type != 'action_log' AND wp_posts_to_exclude_reviews.post_type NOT IN ('product') AND icltr2.language_code = 'en' made by require_once('wp-admin/admin.php'), require('wp-admin/menu.php'), wp_count_comments, apply_filters('wp_count_comments'), WP_Hook->apply_filters, WC_Comments::wp_count_comments, get_comments, WP_Comment_Query->query, WP_Comment_Query->get_comments, WP_Comment_Query->get_comment_ids WHERE ( comment_approved = 'trash' ) AND comment_type NOT IN ('note') AND comment_type != 'order_note' AND comment_type != 'webhook_delivery' AND comment_type != 'action_log' AND wp_posts_to_exclude_reviews.post_type NOT IN ('product') AND icltr2.language_code = 'en' made by require_once('wp-admin/admin.php'), require('wp-admin/menu.php'), wp_count_comments, apply_filters('wp_count_comments'), WP_Hook->apply_filters, WC_Comments::wp_count_comments, get_comments, WP_Comment_Query->query, WP_Comment_Query->get_comments, WP_Comment_Query->get_comment_ids WHERE ( comment_approved = 'post-trashed' ) AND comment_type NOT IN ('note') AND comment_type != 'order_note' AND comment_type != 'webhook_delivery' AND comment_type != 'action_log' AND wp_posts_to_exclude_reviews.post_type NOT IN ('product') AND icltr2.language_code = 'en' made by require_once('wp-admin/admin.php'), require('wp-admin/menu.php'), wp_count_comments, apply_filters('wp_count_comments'), WP_Hook->apply_filters, WC_Comments::wp_count_comments, get_comments, WP_Comment_Query->query, WP_Comment_Query->get_comments, WP_Comment_Query->get_comment_ids complianz-gdpr domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/customer/www/yuyobrujo.com/public_html/wp-includes/functions.php on line 6131 complianz-gdpr domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/customer/www/yuyobrujo.com/public_html/wp-includes/functions.php on line 6131 complianz-gdpr domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/customer/www/yuyobrujo.com/public_html/wp-includes/functions.php on line 6131 WHERE ( comment_approved = '1' ) AND comment_type NOT IN ('note') AND comment_type != 'order_note' AND comment_type != 'webhook_delivery' AND comment_type != 'action_log' AND wp_posts_to_exclude_reviews.post_type NOT IN ('product') AND icltr2.language_code = 'en' made by require('wp-admin/menu.php'), wp_count_comments, apply_filters('wp_count_comments'), WP_Hook->apply_filters, WC_Comments::wp_count_comments, get_comments, WP_Comment_Query->query, WP_Comment_Query->get_comments, WP_Comment_Query->get_comment_ids WHERE ( comment_approved = '0' ) AND comment_type NOT IN ('note') AND comment_type != 'order_note' AND comment_type != 'webhook_delivery' AND comment_type != 'action_log' AND wp_posts_to_exclude_reviews.post_type NOT IN ('product') AND icltr2.language_code = 'en' made by require('wp-admin/menu.php'), wp_count_comments, apply_filters('wp_count_comments'), WP_Hook->apply_filters, WC_Comments::wp_count_comments, get_comments, WP_Comment_Query->query, WP_Comment_Query->get_comments, WP_Comment_Query->get_comment_ids WHERE ( comment_approved = 'spam' ) AND comment_type NOT IN ('note') AND comment_type != 'order_note' AND comment_type != 'webhook_delivery' AND comment_type != 'action_log' AND wp_posts_to_exclude_reviews.post_type NOT IN ('product') AND icltr2.language_code = 'en' made by require('wp-admin/menu.php'), wp_count_comments, apply_filters('wp_count_comments'), WP_Hook->apply_filters, WC_Comments::wp_count_comments, get_comments, WP_Comment_Query->query, WP_Comment_Query->get_comments, WP_Comment_Query->get_comment_ids WHERE ( comment_approved = 'trash' ) AND comment_type NOT IN ('note') AND comment_type != 'order_note' AND comment_type != 'webhook_delivery' AND comment_type != 'action_log' AND wp_posts_to_exclude_reviews.post_type NOT IN ('product') AND icltr2.language_code = 'en' Regards, |
| marzo 18, 2026 a las 07:07 #17906375 | |
|
Prosenjit Barman Partidario de WPML desde 03/2023
Idiomas: Inglés (English ) Zona horaria: Asia/Dhaka (GMT+06:00) |
Hi Javi, Thank you for sharing all the details. I did a thorough investigation and was able to identify the root cause of the issue. I also applied a workaround, and able to successfully remove the languages you wanted to delete from both the UK and EU sites. You can now review both subsites and confirm everything looks correct. The issue was related to the deletion logic for WooCommerce product variations. When a WooCommerce product is deleted, WooCommerce automatically performs a cascade deletion of the variations attached to that product. However, during the WPML language deletion process, the logic was still trying to process a variation that had already been deleted by WooCommerce. Because of that: - The deletion process stopped immediately I implemented a workaround directly in the plugin code here: sitepress-multilingual-cms/classes/post-translation/endpoints/DeleteTranslatedContentOfLanguages.php With that adjustment in place, I was able to complete the language deletion successfully, including the related translated content. Although the workaround resolved the issue for your site, I will also escalate this internally so our development team can review it properly and determine whether we should improve the core logic to handle this scenario more safely in future cases. I hope this helps and gets things unblocked for you. If you have any questions or would like clarification on anything I found, please feel free to let me know — I’ll be happy to help. Best regards, |
