After installing this version, this module causes 500 error:

[22-Oct-2015 10:42:24] PHP Parse error: syntax error, unexpected T_FUNCTION in /sites/all/modules/field_collection/field_collection.module on line 591

Had to revert to previous version.

Comments

mattf100 created an issue. See original summary.

  • 197f516 committed on 7.x-1.x
    Issue #2598926 by jmuzz: Fix for PHP versions < 5.3
    
jmuzz’s picture

Thanks for the heads up. An anonymous function slipped in. They aren't supported by PHP 5.2.5 which is the minimum for Drupal 7.0. Can you please try the new version from the repository? If it works I'll do another release.

cobaltje’s picture

Can you please quickly upload a new version, a big part of my website is broken after updating. (can't even get in the module list).

I had to ask for a backup to my webhost. Uploading a older version doesn't fix the trick here.

edit: i can't get a backup from my host, so i can hope you can fix this very quickly.

see: http://i.imgur.com/jFdLvPa.jpg

sagar ramgade’s picture

Hi,

Download the dev version of the module, it has the fix.

dmeigs’s picture

I had the same problem. I upgraded to field_collection-7.x-1.x-dev and it worked.

Thanks!

jmuzz’s picture

Status: Active » Fixed

Thanks for the feedback.

beta10 is released.

@cobaltje that doesn't look like the error this issue is about. Try opening a new issue for your problem. Please provide a backtrace or at least the PHP error message in your issue description. The screenshot will not be enough to identify your problem.

Status: Fixed » Closed (fixed)

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