Problem: The client is experiencing issues with their WPML installation in production on Pantheon. They are unable to register their site due to a mismatch in the 'site_key' between their wp-config.php and the database, and cannot access the 'commercial' tab to register the site. They also cannot allocate credits on wpml.org as the PROD site is not active. Solution: We recommend the following steps to resolve the issue: 1. Visit https://wpml.org/account/sites and remove any old versions of the website from the list. 2. Add the production website URL again and copy the newly generated key. 3. Update the key in your wp-config.php file to match the newly generated key.
This process should help in correctly registering your site in production, allowing you to assign credits and activate PAYG translation services.
If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable 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 further assistance is needed, please open a new support ticket at WPML support forum.
Problème : Le client a ajouté l'italien et l'espagnol à son site multilingue, qui affichait déjà l'anglais sans problème. Cependant, une erreur critique apparaît sur les pages en italien et en espagnol. Après avoir désactivé les plugins, le client a identifié un conflit avec le plugin B2BKing Pro. Solution : Nous avons vérifié que l'API REST fonctionnait correctement, éliminant ainsi les problèmes de connexion au serveur. Le problème d'erreur critique était dû à une règle de
flush_rewrite
configurée par le plugin B2BKing Pro, qui ajoutait un dossier de langue inutile dans l'URL, rendant celle-ci inaccessible. Nous avons apporté une correction au fichier
Problem: If you're receiving a message that the REST API is not enabled and have tried deactivating all plugins except Elementor, checked your .htaccess file, and re-saved your permalinks without resolving the issue, the problem might still persist even if an endpoint test shows a correct result. Solution: We recommend trying to access your site using a private browser window. This approach resolved the issue for another client, indicating that the problem could be related to browser caching rather than your WordPress setup or WPML configuration.
Please note that this solution might be irrelevant if it's outdated or not applicable 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 the problem persists, please open a new support ticket.
Problem: The client reported that the JavaScript file 'wpgmp-project-filters.js' was not loading on their site's translated pages for German (de), French (fr), Norwegian (no), Danish (da), and Swedish (sv) languages, although it was loading correctly for English (en), Dutch (nl), and Spanish (es). Solution: Initially, we suggested clearing all caches (plugin, server, Cloudflare, etc.) to see if that resolved the issue. Upon further investigation, we discovered that the problem was due to custom code in the file
wp-content/themes/kebonyglobal/functions.php
. Specifically, the function
kebony_relocate_inline_scripts()
contained a line of code that needed commenting out:
// strpos($src, 'project') !== false ||
After making this change, the JavaScript file should load correctly on all language versions of the site.
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.