Indirect modification of overloaded element of Drupal\Core\Template\Attribute has no effect in geysir_preprocess_links()

Created on 13 March 2025, 4 months ago

Problem/Motivation

After updating from Drupal 10.1 to 10.3, I am seeing the following error:

Indirect modification of overloaded element of Drupal\Core\Template\Attribute has no effect in geysir_preprocess_links()

Steps to reproduce

Proposed resolution

Check if $variables['links'][$key]['attributes'] is instanceOf Drupal\Core\Template\Attribute instead of always treating it as an array on \geysir_preprocess_links.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

2.1

Component

Code

Created by

πŸ‡§πŸ‡·Brazil mauriciopieper

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024