Resolved
Reported for: WPML Multilingual CMS 3.9.1
Resolved in: WPML Multilingual CMS 3.9.2
Overview of the issue
After updating your site to WPML 3.9.0 or 3.9.1 you might encounter the following PHP error:
PHP Fatal error: Cannot redeclare class AbsoluteLinks in À¨þ on line 3
We investigated the issue and it was determined that it could be caused by APC Cache running on that server.
Workaround
You can fix the problem by removing the following lines of code:
- If you use WPML main plugin – line 16 from the class-wpml-translation-management-filters-and-actions.php file found in the ../sitepress-multilingual-cms/classes/translation-management/ folder.
- If you use WPML Translation Management plugin – line 422 from the wpml-pro-translation.class.php file found in the ../wpml-translation-management/inc/translation-proxy/ folder.
- If you use WPML Sticky Links plugin – line 29 from the class-wpml-sticky-links.php file found in the ../ wpml-sticky-links/classes/ folder.
Any indication of when this will be fixed? I don’t know how to implement the workaround myself. So either a fixed solution or help would be much appreciated.
The problem should be resolved in the new release of WPML 3.9.2
Updating your plugins will be sufficient.