Hello,

Update informations aren't similar between website BO:
Link Attributes widget 2.0.1 2.0.2 (Notes de version)

And composer outdated modules. It doesn't provide the ability to update the module.
drupal/link_attributes 2.0.1 Provides a widget to allow settings of link attributes for menu links.

Additionnal infos when upgrading from 1.x to 2.x:
I need to run this DB update by "hand" via the UI:

 link_attributes module
9001 - Update. Link Attribute's "menu_link_content" support is now a submodule. You may uninstall 'link_attributes_menu_link_content' if you do not use this functionality or have compatibility issue with other menu attribute modules.

In drush I get this message after update:

  [error]   (Currently using Incompatible module The following module is installed, but it is incompatible with PHP 7.4.33:
 * Link attributes

So do it need to update the module on D9.5.10 ?

Thanks

Comments

aiphes created an issue. See original summary.

aiphes’s picture

Issue summary: View changes
aiphes’s picture

Issue summary: View changes
larowlan’s picture

Category: Bug report » Support request
Status: Active » Closed (works as designed)

The newer versions aren't compatible with PHP 7, you need to stay on the lower version or update your PHP version.

FYI: You will need to move to PHP 8.1 before November when Drupal 9 is EOL.

aiphes’s picture

The thing is that my website run PHP 8.1.6, but drush doesn't use this version, and use the global PHP that's in 7.4 ( webhosting setting). So I can use the last version but I can't remove this warning since I modify the global PHP.