WPML

Overview of the Issue

We have had a glitch with WPML 4.3.13 in which when using PHP 5.6 you will see the following error:

Parse error: syntax error, unexpected 'forEach' (T_FOREACH) in /var/www/vhosts/avtodvigala.si/httpdocs/wp-content/plugins/sitepress-multilingual-cms2/classes/media/duplication/Hooks.php on line 37

Workaround

This issue is fixed. Updating to the latest version solves it on your site, so you only need this workaround if you can’t update yet.

Please update to WPML 4.3.14

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