This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 1 reply, has 2 voices.

Last updated by Rohan Sadanandan 10 months ago.

Assigned support staff: Rohan Sadanandan.

Author Posts
July 31, 2019 at 8:42 am #4312995



When i try and activate the WPML Multilingual CMS on my live site i get the following

Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in /var/www/vhosts/ on line 810

How can I fix this issue?

It works fine for me locally.


July 31, 2019 at 8:57 am #4313081

Rohan Sadanandan

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)


Thank you for contacting WPML Support.

Please enable the Debug Information so that we can provide faster support.

Please go to WPML > Support > Debug Information and give me the information in the next reply. You can read the detailed instruction here:

Regarding your issue, please follow the below steps.

Please deactivate all WPML plugins. And then activate in this order.
1. WPML Multilingual CMS.
2. String Translation.
3. Translation Management.
4. Media Translation.

If it does not solve the issue, then there is a possibility that you are using a corrupt copy of the plugin. Please delete the plugin folder and upload a new version from your download page:

Please let me know if this works for you.