after fresh install of the module i get immediately:

Parse error: syntax error, unexpected T_FUNCTION in nodesymlinks.inc on line 328

am i the only one?
or can someone reproduce?

thanks sb

Comments

wojtha’s picture

It is caused by PHP incompatibility... you have probably PHP 5.2 installed, however I've used a PHP 5.3 feature there. I'll fix it in the next version.

In the mean time, you can change the line

$nodesymlinks = array_values(array_filter($nodesymlinks, function($x) {return $x['delete'] != 1; }));

to

$array_filter = create_function('$x', 'return $x["delete"] != 1;');
$nodesymlinks = array_values(array_filter($nodesymlinks, $array_filter));
sachbearbeiter’s picture

thanks a lot - i give it a try :)

sachbearbeiter’s picture

works fine

jmatuska’s picture

yes, was having same issue (and, yes, am using php 5.2) and your fix works great. thanks!

wojtha’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.