Problème : Le site est très lent et souvent inaccessible. Après avoir désactivé le plugin WPML, le site devient accessible. Cependant, l'hébergeur a identifié que les plugins Query Monitor et Google Site Kit étaient la cause du problème, et non WPML. Solution : Si vous rencontrez des problèmes de lenteur avec WPML, nous vous recommandons de vérifier s'il y a des erreurs ou des avertissements liés à WPML dans le journal de débogage de WordPress ou dans le journal d'erreurs du serveur. Pour activer le journal de débogage de WordPress, modifiez votre fichier wp-config.php comme suit:
Ensuite, essayez de reproduire le problème et vérifiez si des erreurs ont été enregistrées dans le fichier debug.log dans le répertoire /wp-content/. Si possible, partagez votre debug.log sur https://pastebin.com/ et fournissez-nous le lien. De plus, activez les informations de débogage en suivant les instructions sur http://wpml.org/faq/provide-debug-information-faster-support/.
Si cette solution ne s'applique pas à votre cas ou semble obsolète, nous vous recommandons vivement de vérifier les problèmes connus sur https://wpml.org/known-issues/, de vérifier la version du correctif permanent et de confirmer que vous avez installé les dernières versions des thèmes et plugins. Si le problème persiste, n'hésitez pas à ouvrir un nouveau ticket de support sur notre forum de support.
Problem:
A bug triggered by specific plugins, producing a 500 error intermittently. Solution:
We have found out that it is an internal server error triggered by the fact that the .htaccess is altered and /en/ is the rewrite base:
This occurs primarily on a specific page and happens on every heartbeat. This happens when third-party plugins call the flush_rewrite_rules(true) function too often. This can change the rewrite rules in your .htaccess file and cause issues on your WordPress site. The full explanation can be found here: https://wpml.org/faq/why-is-htaccess-getting-overwritten-with-the-language-folder-on-my-wpml-website/.
We suggest implementing the workaround on your staging site by adding the following function to the theme's functions.php file.
Problem: The client reported that even though Woo translations for regions and countries are downloaded, they are not displayed in dropdowns in checkout and settings > Woo > Delivery zones. The Bulgarian strings are displayed instead. Additionally, the filter titles are not visible as strings. Solution: We advised the client to check the language settings of the affected strings in WPML > String Translation. It appears that the strings were assigned to the wrong language. We recommended changing the language of these strings and verifying that the translations are correct. This adjustment should resolve the issue, and the correct translations should then appear on the frontend.
If the problem persists or if this solution becomes outdated, 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 these steps do not resolve the issue, please open a new support ticket.