in_array(): Argument #2 ($haystack) must be of type array, Drupal\Core\Template\AttributeArray given

Created on 13 November 2024, 10 days ago

Problem/Motivation

Upgraded from 3.0RC10 to 14
Got this error:
in_array(): Argument #2 ($haystack) must be of type array, Drupal\Core\Template\AttributeArray given
in /app/web/themes/contrib/gin/includes/html.theme (line 21)
Faulty code:

    if (isset($variables['attributes']['class']) && in_array('imce-page', $variables['attributes']['class'])) {

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Component

Code

Created by

🇫🇷France Geolim4

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

Comments & Activities

Production build 0.71.5 2024