WPML

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

This issue is fixed in WPML Multilingual CMS 3.5.2. Updating solves it on your site, so you only need this workaround if you can’t update yet.

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.

Still Seeing This Issue?

If updating doesn’t fix it, ask a support question and we’ll look into it with you.

Ask a support question

All known issues