WD php: ParseError: syntax error, unexpected ',' in features_get_normal() (line 29 of 一个hierarchical_select版本有关的错误.

WD php: ParseError: syntax error, unexpected ',' in features_get_normal() (line 29 of                                     [error]
/home/nginx/domains/hi.thatk.com/public/sites/all/modules/features/features.export.inc(749) : eval()'d code).
Cannot modify header information - headers already sent by (output started at                                             [warning]
/root/.composer/vendor/drush/drush/includes/output.inc:40) bootstrap.inc:1232
ParseError: syntax error, unexpected ',' in features_get_normal() (line 29 of /home/nginx/domains/hi.thatk.com/public/sites/all/modules/features/features.export.inc(749) : eval()'d code).
Drush command terminated abnormally due to an unrecoverable error.

 

升级到新版 Hierarchical Select 7.x-3.0-beta6 会出现上面错误.

退回到老版本 Hierarchical Select 7.x-3.0-beta5 错误消失.

 

commerce profile 改的一个环境. 插件有升级. 针对 PHP7 做了bug fix.