Closed (fixed)
Project:
Menu Export/Import
Version:
7.x-1.3
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Dec 2012 at 13:16 UTC
Updated:
3 Jan 2013 at 20:49 UTC
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
Comment #1
lex0r commentedHi, 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
Comment #2
lex0r commentedFixed in version 7.x-1.4