Closed (works as designed)
Project:
Taxonomy Menu
Version:
7.x-2.0-alpha1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Nov 2012 at 10:01 UTC
Updated:
29 Nov 2012 at 14:09 UTC
After upgrading to new alpha, had this error
Parse error: syntax error, unexpected T_FUNCTION in zzzzzzz/sites/all/modules/taxonomy_menu/taxonomy_menu.admin.inc on line 326
Comments
Comment #1
barrett commentedI don't get that error. Linting the file returns no syntax problems. I do see that 326 is using a closure though and that there's a TODO saying it only works with PHP 5.3+. Are you running a lower PHP version?
Comment #2
egarias commentedThanks, we are running PHP 5.2
We'll try to update
Comment #3
barrett commentedAdding a PHP declaration to the .info file to require 5.3 or greater has been addressed in #1853824: Add PHP declaration to .info file to require PHP 5.3 +