TypeError: Argument #1 ($id) must be of type int, null given

Created on 28 July 2023, over 1 year ago

Problem/Motivation

TypeError: Drupal\shortcut_menu\Form\ShortcutMenuSetCustomize::getShortcutUuidFromId(): Argument #1 ($id) must be of type int, null given, called in shortcut_menu/src/Form/ShortcutMenuSetCustomize.php on line 108 in shortcut_menu/src/Form/ShortcutMenuSetCustomize.php on line 194

Steps to reproduce

Move nested links around and try to save.

Proposed resolution

Add `$id = null` to `getShortcutUuidFromId()` method.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States joegl

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

Comments & Activities

Production build 0.71.5 2024