- Status
- Resolved
- Reported for
- WPML Multilingual CMS 4.6.13
- Resolved in
- 4.7.6
- Topic tags
- Bug
Overview of the issue
A file naming issue in the Yoast/Whip vendor library included with WPML is causing an error on case-sensitive server environments (e.g., Ubuntu). The problem arises because the folder names were changed from lowercase (e.g., facades) to capitalized (Facades) in WPML 4.6.12. During updates, case-sensitive file systems may retain both folder versions, resulting in conflicts and a 500 error.
PHP Fatal error: Uncaught Error: Failed opening required '.../wp-content/plugins/sitepress-multilingual-cms/vendor/composer/../yoast/whip/src/Facades/wordpress.php' (include_path='.:/usr/share/pear:/usr/share/php') in .../wp-content/plugins/sitepress-multilingual-cms/vendor/composer/autoload_real.php:78
Workaround
Please, make sure of having a full site backup of your site before proceeding.
Reinstall WPML
- Go to the WordPress Dashboard > Plugins.
- Deactivate and delete WPML.
- Reinstall the latest version of WPML from the official website.