Array to string conversion notice

Created on 13 December 2023, about 1 year ago
Updated 17 December 2023, about 1 year 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 id.rem.dev

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

Comments & Activities

Production build 0.71.5 2024