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 2 replies, has 2 voices.

Last updated by Laura 9 months ago.

Assigned support staff: Laura.

Author Posts
September 3, 2019 at 7:39 am #4501731


I am trying to: Install WPML

Link to a page where the issue can be seen:

I expected to see:

Instead, I got: Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in C:\inetpub\sohor\wp-content\plugins\sitepress-multilingual-cms\inc\functions.php on line 810

September 3, 2019 at 10:29 am #4503465


You have asked for my php-version used. It is php 5.4.45.

September 3, 2019 at 10:38 am #4503587


Languages: English (English ) Italian (Italiano ) Portuguese (Brazil) (Português )

Timezone: Europe/Rome (GMT+02:00)


this explains why you get the error. Minimum requirement for WPML is PHP 5.6. See here:

Update your PHP version and you should be fine.