Problem: You are using WPML to translate BuddyPress pages on your website. While the default language (English) works fine, switching to any secondary language (e.g., Portuguese) results in a 404 error on BuddyPress pages like /members/. Solution: First, ensure that you have installed the BuddyPress Multilingual glue plugin, which is necessary for compatibility between WPML and BuddyPress. You can download it with your existing license at no extra cost here: https://wpml.org/documentation/related-projects/buddypress-multilingual/ If you are using a version of BuddyPress higher than 12.0, you also need to install and activate the BP Classic Add-on to maintain compatibility and ensure that WPML features work correctly. Additionally, check the list of known issues between BuddyPress and WPML here: https://wpml.org/plugin/buddypress/#ki If this solution does not resolve your issue or seems outdated, we recommend opening a new support ticket. Also, ensure you have the latest versions of themes and plugins installed. For further assistance, please visit our support forum: https://wpml.org/forums/forum/english-support/
Problem: If you're experiencing crashes in the WordPress admin after updating WPML to the latest version, it might be due to a compatibility issue with your theme or its associated plugins. Specifically, the crash occurs with a fatal error related to array and string offset access syntax in the theme's code. Solution: We recommend updating your theme and its associated plugins to the latest versions. We are unsure if in this case, updating the Hermes theme and the LionThemes Helper plugin to their latest versions resolved the issue. Before updating, ensure you make a complete backup of your site. If your theme and plugins are not officially compatible with WPML, consider contacting the theme authors to encourage them to join our Go Global Program.
If this solution does not apply to your case, or if it seems outdated, please check the related known issues and confirm that you have installed the latest versions of themes and plugins. If the problem persists, we highly recommend opening a new support ticket for further assistance.
The client is experiencing issues with translating Bricks Builder pages using WPML. The main symptoms include improper translations and CSS/JS rendering issues on the translated pages.
Solution:
1) Ensure a full site backup is performed. 2) Navigate to WPML>>Settings>>Post Types Translation and select *Translatable only show translated items* for My Templates (bricks_template) post type. 3) Save the changes. 4) Go to Bricks>>Templates>>My Templates and translate the Header & Footer templates. 5) Update the Homepage in the original language after a minor edit to refresh the translation settings.
Additionally, add the following code to the functions.php file of your theme:
add_filter('get_post_metadata', 'wpml_compsupp7667_bricks_translate_template_conditions', 10, 4);
function wpml_compsupp7667_bricks_translate_template_conditions($value, $post_id, $key, $single) {
if ($key !== '_bricks_template_settings') {
return $value;
}
// Remove filter temporarily to avoid infinite loop
remove_filter('get_post_metadata', 'wpml_compsupp7667_bricks_translate_template_conditions', 10);
// Get all meta values
$raw_values = get_post_meta($post_id, $key, false);
// Add filter back
add_filter('get_post_metadata', 'wpml_compsupp7667_bricks_translate_template_conditions', 10, 4);
// If we have no values, return the original
if (empty($raw_values)) {
return $value;
}
// Process the array structure
foreach ($raw_values as &$settings) {
if (is_array($settings) && isset($settings['templateConditions'])) {
foreach ($settings['templateConditions'] as &$condition) {
if (!empty($condition['archiveTerms']) && is_array($condition['archiveTerms'])) {
foreach ($condition['archiveTerms'] as &$termString) {
if (strpos($termString, '::') !== false) {
list($taxonomy, $termId) = explode('::', $termString);
$translatedId = apply_filters('wpml_object_id', intval($termId), $taxonomy, true);
if ($translatedId) {
$termString = $taxonomy . '::' . $translatedId;
}
}
}
}
}
}
}
return $raw_values;
}
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. Please feel free to open a new support ticket for further assistance at WPML support forum.
Problem: You are experiencing a critical error on the translated page of your website using the Spinoko theme with WPML. Solution: This issue is due to a compatibility problem with the theme. We have escalated this to our compatibility team for a permanent fix. Meanwhile, as a workaround, please add the following code to WPML->Settings->Custom XML configuration and update the pages:
If this solution does not resolve your issue or becomes outdated, we 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 needed, please open a new support ticket at WPML Support Forum.