Enabled all required modules for migration, then enabled phpnuke2drupal mod and immediately came into a syntax error:
Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /sites/all/modules/phpnuke2drupal/phpnuke2drupal.module on line 456

Any help is appreciated!

Comments

manumad40’s picture

Just change the line 456:
$class::execute($context);
Into:
$operation = new $class($context, $step = 20);

When the error happened to me, my PHP was 5.2.12 and I think that this version is not compatible with the syntax into that line.

Hope this helps!

jonhattan’s picture

Category: support » bug
Status: Active » Fixed

Status: Fixed » Closed (fixed)

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

jimahuja’s picture

Prefer to use the PHP function call_user_func() to call the function of the classes. Refer to the http://php.net/manual/en/function.call-user-func.php for detailed usage of function.