Array to string conversion notice

Created on 13 December 2023, 7 months ago
Updated 17 December 2023, 6 months ago

Problem/Motivation

Faced a small issue with

simple_sitemap

module combination - the module adds submit callbacks as array with class and method definitions. In this case in domain_menus_form_node_form_alter() gives the "Array to string conversion" notice.

Proposed resolution

Re-build the submit handlers array in a bit different way.

I think this is not a critical thing as it may not be the case in common, but still, as there is the ability to add submit handlers as arrays, need to improve the check to handle it.

πŸ› Bug report
Status

Fixed

Version

3.5

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine Vladimirrem

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

Comments & Activities

Production build 0.69.0 2024