WPML
Status
Resolved
Type
Bug
Reported for
WPML Multilingual CMS 3.5.1.1
Resolved in
WPML Multilingual CMS 3.5.2

Overview of the issue

Upgrading the String Translation add-on plugin to version 2.4.1.1 causes a fatal error: Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM

This happens when the version of PHP installed is lower than 5.3.

Workaround

We recommend upgrading PHP to at least 5.3 and to follow WordPress statements (opens in a new tab) on why it’s strongly advised to upgrade PHP.

If an upgrade of PHP is not an option, we provide a package with the compatibility fix:


  1. Download the upgrade package.

  2. Extract the package: you will get 4 files

  3. Copy these files in wpml-string-translation/classes/upgrade

This fix will be also included in the next version of String Translation.

All known issues