Closed (fixed)
Project:
Entity Usage
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
4 Feb 2026 at 20:08 UTC
Updated:
25 Feb 2026 at 15:49 UTC
Jump to comment: Most recent
Deprecated function: Using null as an array offset is deprecated, use an empty string instead in entity_usage_views_data_alter() (line 47 of modules/contrib/entity_usage/entity_usage.views.inc).
entity_usage_views_data_alter() (Line: 460)
Drupal\Core\Extension\ModuleHandler->alter() (Line: 88)
Drupal\hook_event_dispatcher\HookEventDispatcherModuleHandler->alter() (Line: 228)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
anupamkhosla1993@gmail.com commentedI get similar errors after installing. I think new php has deprecated a lot of functions used by this module:
Status message
Module Entity Usage has been installed. Configure related permissions.
One translation file imported. 0 translations were added, 11 translations were updated and 0 translations were removed.
The configuration was successfully updated. There are 147 configuration objects updated.
Comment #4
phoang commentedDid you apply the patch? It should fix the error message.
Comment #6
alexpottThanks for reporting this @phoang - I've slightly tweaked your MR to clean up some confusing code that didn't ever run anyway.
Comment #9
alexpottMerged this to 8.x-2.x and 5.x