Fix compatibility with menu_select

Created on 28 May 2023, over 1 year ago

Problem/Motivation

I have filed an issue with menu_select as well as here, as I'm unsure which module the incompatibility should be ideally fixed in https://www.drupal.org/project/menu_select/issues/3363216 🐛 Fix compatibility with menu_link_weight module Active

When I installed and enabled menu_select 2.0.0-rc1 on a Drupal 9.5.9 site which I was already using the menu_link_weight (1.0.0-beta5) module successfully on, the node edit pages displayed as broken.

The page showed a white screen with this text:

The website encountered an unexpected error. Please try again later.
TypeError: strstr(): Argument #1 ($haystack) must be of type string, array given in strstr() (line 127 of modules/contrib/menu_link_weight/menu_link_weight.node.inc).

Steps to reproduce

Install Drupal 9.5.9, install and enable menu_link_weight 1.0.0-beta5, then install and enable menu_select 2.0.0-rc1

Proposed resolution

Please could you see if you could make this module compatible with menu_select, thank you.

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Component

Code

Created by

🇬🇧United Kingdom ChandeepKhosa

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

Comments & Activities

Production build 0.71.5 2024