Usage of PHP's create_function() function has been deprecated as of PHP 7.2. This module uses it twice in entityqueue/plugins/entityreference/behavior/EntityReferenceBehavior_EntityQueue.class.php. It can be replaced with a real function definition.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bkosborne created an issue. See original summary.

malaynayak’s picture

Hi @bkosborne,

Please review the patch.

  • amateescu committed d9dc3e2 on 7.x-1.x authored by malaynayak
    Issue #2946598 by malaynayak, bkosborne: PHP 7.2+ future proofing,...
amateescu’s picture

Status: Active » Fixed

Committed to 7.x-1.x. Nice work!

bkosborne’s picture

Note that closures were introduced in PHP 5.3, and Drupal 7 technically supports 5.2.5+. May be worth just adding php = 5.3 to the module info file now.

  • amateescu committed 5dba926 on 7.x-1.x
    Issue #2946598 followup by bkosborne: Add a hard requirement for PHP >=...
amateescu’s picture

@bkosborne, good point! I did try to check that before committing the patch on the manual page for array_filter() but I couldn't find it.

Status: Fixed » Closed (fixed)

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