Hi there,
There is one each() call in this module that can trigger PHP notices on PHP 7.2. The fix is quick, and I will attach a patch.
Please review when you have some time.

Thank you.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Ayesh created an issue. See original summary.

Ayesh’s picture

Status: Active » Needs review
FileSize
575 bytes
delta’s picture

Status: Needs review » Reviewed & tested by the community

+1 work as expected, thanks for the patch

NWOM’s picture

#2 worked for me as well. Thank you!

Als’s picture

#2 works for me too.

Using Administration Menu 7.x-3.0-rc5 with Drupal 7.59 and PHP 7.2.4.

Rob C’s picture

As #2947772: Fully support PHP 7.2 in Drupal 7 is moving forward, the patch in #2 works.

Farnoosh’s picture

Patch #2 works for me.

truls1502’s picture

I can also confirm that the patch #2 works perfectly. :)

akolahi’s picture

#2 works

  • truls1502 committed 71148b3 on 7.x-3.x
    Issue #2929025 by Ayesh, truls1502: [PHP 7.2] each() function is...
truls1502’s picture

Status: Reviewed & tested by the community » Fixed

Fixed and added in 7.x-3.x-dev

Status: Fixed » Closed (fixed)

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

mrgoodfellow’s picture

Seems to be working great for me. Any idea when the next release will be bundled to include this PHP 7.2 fix?

StephenRobinson’s picture

will this get pushed to a release?

Patrick Ruytings’s picture

How can I apply this patch?

truls1502’s picture

Related issues: +#2939236: Next 7.x Release

It is already in 7.x-3.x-dev.

But you if you want to have a stable release, you can help us to fix from the issue list for admin_menu. :)

manali_phadke’s picture

#2 works for me. This resolves the warning "each() function is deprecated". Thanks

thtas’s picture

Considering php 5.6 is now EOL, it would be very useful to get a release out for this.
When moving sites to php 7 it always hurts to have to bring in dev modules.