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:
- Download the upgrade package.
- Extract the package: you will get 4 files
- Copy these files in wpml-string-translation/classes/upgrade
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