![](https://secure.gravatar.com/avatar/5d287d8237626e20fee90fc3e615ccac?s=80&d=mm&r=g) jodyP-3
|
Hello, I'm having exactly the same problem with WPML generating an error on front end as it looks for the language switcher style sheet in:
/ontent/plugins/sitepress-multilingual-cms/templates/language-switchers/legacy-list-horizontal/style.min.css
At the moment it's just annoying as it doesn't have an impact on the site. Are we going to get a definitive fix in upcoming releases or should I go with Bruno's workaround? Thank you.
|
![](https://secure.gravatar.com/avatar/400543e54b9c47b44cd443f81eb9dd55?s=80&d=mm&r=g) joon-sooS
|
This problem has not been resolved at all by 2022.
I have the same problem with newer instances created by lightsail with bitnami images.
Anyone experiencing this problem seems to have use bitnami.
Please let me know if you have a correct solution to this problem.
For now, I'm just getting the same file in the correct path from the theme.
However, I'm still getting errors everywhere due to path issues.
This problem, which does not occur to the majority, does not appear to be making any effort to solve this problem in WPML.
|
![](https://secure.gravatar.com/avatar/06fdd1d18e56c4f103dfbf081b98d4b5?s=80&d=mm&r=g) mohammeda-24
|
I Migrated to Bitnami few days ago and seems the issue is still there.
Couldn't find any solution in both WPML and Bitnami support.
my best workaround solution for the issue is to dequeue the css file with the issue and enqueue it again.
/**
**************** Temp fix
*/
add_action( 'wp_enqueue_scripts', 'wpml_bitnami_temp_fix', 9999 );
function wpml_bitnami_temp_fix() {
wp_dequeue_style( 'wpml-menu-item-0' );
wp_enqueue_style( 'wpml-menu-item-0-temp', '[url]/wp-content/plugins/sitepress-multilingual-cms/templates/language-switchers/menu-item/style.min.css?ver=1' );
}
|