hi,
after upgrading to the new drupal version and modules i become often this error ..see below...this efected also the service link module

Parse error: syntax error, unexpected T_FUNCTION in ./sites/all/modules/service_links/service_links.module on line 384

Drupal 6.24
PHP 5.2.13

Comments

TheCrow’s picture

Drupal 6.24 and using the module 7.x-2.x?

Edit: Tried both 6.x-2.x and 7.x-2.x and dont have this error...

eule’s picture

Version: 7.x-2.x-dev » 6.x-2.x-dev
TheCrow’s picture

Version: 6.x-2.x-dev » 7.x-2.x-dev
Assigned: Unassigned » TheCrow
Status: Active » Needs work

The problem should happen with PHP < 5.3, that's why i don't have this error.

I need substitute the closure with a custom function...

TheCrow’s picture

Version: 7.x-2.x-dev » master

affect both version... if using PHP < 5.3

TheCrow’s picture

Status: Needs work » Fixed

Committed it! if there are problems just follow here.

Status: Fixed » Closed (fixed)

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