Problem: You are experiencing slow site speed due to over 100 duplicate queries per page when WPML is enabled. Disabling WPML restores normal speed. The issue is traced back to the Bricks theme, particularly its handling of links and calls to
url_to_postid
function. Solution: 1. The issue primarily stems from the Bricks theme, not directly from WPML. The theme generates duplicate queries when checking links for aria attributes, which WPML then filters. 2. Switch to a default theme temporarily to confirm if the issue resolves, indicating the problem is with the Bricks theme. 3. Contact Bricks theme support to report the issue and request a fix. Provide them with details of how the theme's handling of links contributes to the excessive queries. 4. If necessary, Bricks theme developers can collaborate with WPML's developers for guidance on adjusting their code.
If this solution does not apply to your case, or if it seems outdated, we recommend opening a new support ticket. Also, check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. For further assistance, please visit our support forum at WPML Support Forum.
Problem: Der Kunde berichtet von extrem langen Ladezeiten beim Zugriff auf WPML-Funktionen wie 'Translations', 'Strings', 'Jobs' etc., die 3-5 Minuten dauern. Dieses Problem tritt ausschließlich bei WPML auf, während andere Plugins nicht betroffen sind. Solution: Wir haben festgestellt, dass die Ladezeiten auf der Kundenseite bei unseren Tests etwa 7-8 Sekunden betrugen, was bei einer hohen Anzahl von Beitragstypen nicht ungewöhnlich ist. Es wurden jedoch mehrere Fehler im Zusammenhang mit anderen Plugins gefunden, die die Leistung beeinträchtigen könnten. Wir empfehlen, diese Fehler zuerst zu beheben und dann zu prüfen, ob sich die Ladezeiten verbessern. Falls das Problem weiterhin besteht, bieten wir an, eine lokale Kopie der Website zu untersuchen, um das Verhalten zu testen, wenn nur WPML aktiv ist.
Bitte beachten Sie, dass diese Lösung möglicherweise veraltet oder nicht auf Ihr Problem zutreffend ist. Wir empfehlen, die bekannten Probleme zu überprüfen, die Version der dauerhaften Lösung zu bestätigen und sicherzustellen, dass Sie die neuesten Versionen von Themes und Plugins installiert haben. Sollten weiterhin Probleme auftreten, zögern Sie nicht, ein neues Support-Ticket zu eröffnen. Besuchen Sie dazu unser Support-Forum.
Problema: Estás intentando activar WPML y levantar el mantenimiento de tu página web, pero la base de datos se desborda por la cantidad de consultas realizadas. Un ejemplo de consulta problemática es:
SELECT SQL_CALC_FOUND_ROWS wp_posts.ID FROM wp_posts LEFT JOIN wp_term_relationships ON (wp_posts.ID = wp_term_relationships.object_id) JOIN wp_icl_translations wpml_translations ON wp_posts.ID = wpml_translations.element_id AND wpml_translations.element_type = CONCAT('post_', wp_posts.post_type) WHERE 1=1 AND wp_posts.ID NOT IN (415399,415399) AND ( wp_term_relationships.term_taxonomy_id IN (3) ) AND wp_posts.post_type = 'post' AND ((wp_posts.post_status = 'publish')) AND ( ( ( wpml_translations.language_code = 'es' OR 0 ) AND wp_posts.post_type IN ('post','page','attachment','wp_block','wp_template','wp_template_part','wp_navigation','tdb_templates','mc4wp-form' ) ) OR wp_posts.post_type NOT IN ('post','page','attachment','wp_block','wp_template','wp_template_part','wp_navigation','tdb_templates','mc4wp-form' ) ) GROUP BY wp_posts.ID ORDER BY wp_posts.post_date DESC LIMIT 0, 6;
Solución: Te recomendamos incrementar el límite de memoria de WordPress a un mínimo de 128MB. Puedes hacerlo añadiendo el siguiente código en tu archivo wp-config.php, justo encima de la línea /* That's all, stop editing! Happy blogging. */:
Después de aumentar el límite de memoria, verifica si el problema persiste accediendo a WPML -> Soporte.
Si esta solución no resuelve el problema o si parece desactualizada, te recomendamos abrir un nuevo ticket de soporte. También es aconsejable revisar los problemas conocidos y confirmar que tienes instaladas las últimas versiones de los temas y plugins. Para más ayuda, visita nuestro foro de soporte.
Problema: El cliente está experimentando tiempos de carga lentos al acceder a 'Páginas -> Todas las páginas' en el administrador de WordPress. Utilizando el plugin Query Monitor, se identificaron consultas lentas en los idiomas Catalán e Inglés, relacionadas con el componente de WPML, específicamente con las funciones
WPML_Translation_Job_Factory->add_job_elements()
y
WPML_Translation_Job_Factory->retrieve_job_data()
. Solución: Para resolver este problema, recomendamos seguir estos pasos: 1. Borra toda la memoria caché. 2. Desactiva todos los plugins, incluyendo los de WPML. 3. Activa un tema por defecto de WordPress, como Twenty Twenty. 4. Reactiva los plugins de WPML. 5. Si el problema de rendimiento desaparece, reactiva el tema y luego los demás plugins uno por uno hasta identificar el causante del problema.
Si esta solución no resuelve el problema o si parece desactualizada, te recomendamos abrir un nuevo ticket de soporte. También es aconsejable revisar los problemas conocidos y confirmar que tienes instaladas las últimas versiones de los temas y plugins. Para asistencia adicional, visita nuestro foro de soporte.
Please note that the solution provided might be outdated or not applicable to your specific 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 the problem continues, we encourage you to open a new support ticket for personalized assistance at WPML support forum.
Problem: The client is managing their database and noticed three lines listed as 'Unused': nid_icl_links_post_to_post, nid_icl_links_post_to_term, and nid_icl_translation_downloads. They are unsure if these can be deleted and are also experiencing high load times on their site. Solution: We recommend not deleting or altering any database tables as these might be used by WPML or other plugins in the future. To address the site's performance issues, we installed the Query Monitor plugin to identify slow queries and ran the WPML Troubleshooting options to clean up the database and fix language assignment errors, which reduced the number of queries and slightly improved site speed. We also found that disabling WPML did not change the load time, indicating that WPML is not the cause of the slowdown. We suggest disabling plugins one-by-one to see which one significantly affects load times. Additionally, we noted that the plugin "Checkout Plugins - Stripe for WooCommerce" is causing warnings and that "Advanced Custom Fields Multilingual" is unnecessary unless "Advanced Custom Fields" is in use.
If this solution does not resolve your issue or seems outdated, please check the related known issues and ensure you have the latest versions of themes and plugins installed. If problems persist, we highly recommend opening a new support ticket here.