The new version will give a error:
Fatal error: Can’t use function return value in write context in [website]/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-cart.php on line 209
When i change this line to:
$res = preg_match( '/\.'.$attachment.'$/', $_SERVER['REQUEST_URI']); if( !empty($res))
Everything will work again, i read it has something to do with the PHP version.
- The topic ‘The new version gives a error’ is closed to new replies.