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.
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.
Comment | File | Size | Author |
---|---|---|---|
#2 | admin-menu-2929025-each-function-deprecated-php-7.2.patch | 575 bytes | Ayesh |
|
Comments
Comment #2
Ayesh CreditAttribution: Ayesh commentedComment #3
delta CreditAttribution: delta as a volunteer commented+1 work as expected, thanks for the patch
Comment #4
NWOM CreditAttribution: NWOM commented#2 worked for me as well. Thank you!
Comment #5
Als#2 works for me too.
Using Administration Menu 7.x-3.0-rc5 with Drupal 7.59 and PHP 7.2.4.
Comment #6
Rob C CreditAttribution: Rob C commentedAs #2947772: Fully support PHP 7.2 in Drupal 7 is moving forward, the patch in #2 works.
Comment #7
Farnoosh CreditAttribution: Farnoosh as a volunteer commentedPatch #2 works for me.
Comment #8
truls1502I can also confirm that the patch #2 works perfectly. :)
Comment #9
akolahi CreditAttribution: akolahi commented#2 works
Comment #11
truls1502Fixed and added in 7.x-3.x-dev
Comment #13
mrgoodfellow CreditAttribution: mrgoodfellow commentedSeems to be working great for me. Any idea when the next release will be bundled to include this PHP 7.2 fix?
Comment #14
StephenRobinson CreditAttribution: StephenRobinson commentedwill this get pushed to a release?
Comment #15
Patrick Ruytings CreditAttribution: Patrick Ruytings commentedHow can I apply this patch?
Comment #16
truls1502It 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. :)
Comment #17
manali_phadke CreditAttribution: manali_phadke at TATA Consultancy Services for Pfizer, Inc. commented#2 works for me. This resolves the warning "each() function is deprecated". Thanks
Comment #18
thtas CreditAttribution: thtas commentedConsidering 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.