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 claudiaN-6 2 months, 2 weeks ago.

Assigned support staff: Bruno.

Author Posts
July 31, 2019 at 8:47 pm #4317663

claudiaN-6

After updating the plugin site crashed; I've deactivated all plugins via ftp and then activated one by one and when I try to activate WPML Multilingual CMS I got the following error message
Parse error: syntax error, unexpected 'class' (T_CLASS), expecting identifier (T_STRING) or variable (T_VARIABLE) or '{' or '$' in /usr/home/danzasdelmundo.com/web/wp-content/plugins/sitepress-multilingual-cms/inc/functions.php on line 810
Now the plugin is not active ant I can access again the site but only in the primary language.
Can't find the debug info, sorry

August 1, 2019 at 12:35 am #4317891

Bruno
Supporter

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

Timezone: America/Sao_Paulo (GMT-03:00)

Thank you for contacting us. This error is usually related to the PHP version. The WPML requires at least PHP 5.6: https://wpml.org/home/minimum-requirements/

Could you please upgrade your PHP version or request your host to upgrade your PHP version?

After updating PHP, please let me know if the problem still persists.

Thank you.

August 2, 2019 at 10:11 am #4328811

claudiaN-6

Thanks, by upgrading PHP version the problem was solved.
Regards