after enable module, in import page admin/structure/menu/import

Parse error: syntax error, unexpected T_FUNCTION, expecting ')' in /home/raid/site.com/test/sites/all/modules/menu_import/includes/admin.inc on line 94

Status report http://pix.am/CeFH/

Comments

lex0r’s picture

Priority: Normal » Critical

Hi, thanks for the bug report! The problem is that the new version uses so called closures (anonymous lambda functions) that are supported starting with PHP 5.3.0. Your version is 5.2.x meaning the code can't be run on your installation. A hotfix to 1.3 will follow ASAP.

FYI:
"System requirements" from official documentation:
Drupal 7: PHP 5.2.5 or higher (5.3 recommended)--some of the modules require 5.3

lex0r’s picture

Status: Active » Closed (fixed)

Fixed in version 7.x-1.4