class Drupal\menu_item_extras\Service\MenuLinkContentService does not have a method "nodeSubmit" in call_user_func_array()

Created on 14 February 2024, 10 months ago

Problem/Motivation

The website encountered an unexpected error. Try again later.

TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class Drupal\menu_item_extras\Service\MenuLinkContentService does not have a method "nodeSubmit" in call_user_func_array() (line 129 of core/lib/Drupal/Core/Form/FormSubmitter.php).

Steps to reproduce

Upgrade drupal 10.2.3 and menu item extras 3.0.2

Edit any node and save the content.

Proposed resolution

menu_item_extras_form_node_form_alter update the submit handler method nodeSubmit to entitySubmit

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: works as designed

Version

3.0

Component

Code

Created by

🇮🇳India kmani

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

Comments & Activities

Production build 0.71.5 2024