TypeError: array_search(): Argument #2 ($haystack) must be of type array, null given when enabling Sticky Action Buttons on Manage Display page

Created on 14 August 2024, 4 months ago

Problem/Motivation

When enabling the "Enable sticky action buttons" feature in the Gin Admin Theme, and then attempting to save changes on the Manage Display page, I encounter the following error:
TypeError: array_search(): Argument #2 ($haystack) must be of type array, null given in array_search() (line 395 of /app/web/modules/contrib/ds/includes/field_ui.inc).

Steps to reproduce

Enable the Gin Admin Theme and Gin Toolbar.
Go to the Manage Display page of a content type or entity.
Enable the "Enable sticky action buttons" option in the theme settings.
Save changes on the Manage Display page.

Drupal Version: 10.3.2
Gin Version: 8.x-3.0-rc13
Gin Toolbar Version: 8.x-1.0-rc6

🐛 Bug report
Status

Closed: duplicate

Component

Code

Created by

🇯🇴Jordan ammar qala

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

Comments & Activities

Production build 0.71.5 2024