Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Get this error when enabling the module:
Parse error: syntax error, unexpected '=', expecting ')' in /usr/local/apache/htdocs/sites/theflavasumtrust.org/modules/filefield/filefield.module on line 216
The problem is this function definition:
function filefield_field($op, &$node, $field, &$items = array()) {
The site uses PHP 4.4.8, which may be why I've not had this problem before.
Comments
Comment #1
drewish CreditAttribution: drewish commentedsee #264353: unexpected '=', expecting ')' in filefield.module on line 217