Closed (fixed)
Project:
Link Magician
Version:
1.0.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
15 Apr 2026 at 01:52 UTC
Updated:
16 Apr 2026 at 22:16 UTC
Jump to comment: Most recent
The call to $entity->getAttributeNames() only works on php 8.3+ and php 8.1 is still supported for Drupal 10
Either install this on a Drupal 10 site w/ php 8.1.x *or* have a look at the pipeline results for 'phpstan (previous major)'
The composer and info files for Link Magician have been updated to require php 8.3 (which was recently dropped from "Active support", but still has over a year of security support ... Please consider be updating to php 8.4 or better yet, php 8.5!)
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 #2
jasongose commentedI'd really suggest that sites upgrade to 8.3+; that said, maybe the "fix" here is to require 8.3 in the info.yml
Comment #4
jasongose commentedAt the time I'm writing this, there's one bit of code you'd need to change in order to make it 8.1 compatible (src/Service/Utility.php:1504)
Comment #5
jasongose commentedFixed (by explicitly requiring php 8.3+)
Comment #7
jasongose commented