Problem/Motivation

Using PHP 7.1 with feeds tamper throws a 'Too few arguments exception' when calling feeds_tamper_rewrite_callback() in rewrite.inc. This originates from some calls not specifying the final parameter for the delta which isn't really needed unless you're looping over multiple field values or data items.

Proposed resolution

Provide a default value for the parameter in the function signature.

Remaining tasks

Write patch to do the above.

User interface changes

N/A

API changes

N/A

Data model changes

N/A

CommentFileSizeAuthor
provide_default_param_values.patch728 bytesjohan.gant
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

johan.gant created an issue. See original summary.

MegaChriz’s picture

Status: Active » Postponed (maintainer needs more info)

Can it be that you added the $delta parameter yourself first? There is such parameter in the dev version.