Closed (fixed)
Project:
IP Info
Version:
1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Dec 2025 at 10:00 UTC
Updated:
19 Jun 2026 at 14:10 UTC
Jump to comment: Most recent
The OO Hooks get executed automatically in Drupal 11.2 and later. But the legacy hooks in the module file also get executed. Therefore, the hooks get executed twice and that is not only a performance issue, it also leads to an exception when you e.g. look at /admin/config/people/ban if IP's get linked to the IP info.
The hooks in the module file need to be marked as legacy.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
jurgenhaasComment #4
antonín slejška commentedHi Jürgen,
I apologize for noticing this issue so late.
Thank you very much!
I will create a new patch version, 1.2.1, with this change.