TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "gin_lb_after_build" not found or invalid function name in call_user_func_array()

Created on 19 March 2024, 9 months ago
Updated 1 May 2024, 8 months ago

Problem/Motivation

Drupal is throwing an error when `wingsuit_lb_form_alter` is running because `gin_lb_after_build` doesn't exist after upgrading `gin_lb` to version 1.0.0-rc6.

Steps to reproduce

Using the Section Template module, try to save a section in the layout builder.

Proposed resolution

Use the `afterBuildAttachGinLbForm` method of `gin_lb` `FormAlter` class.

🐛 Bug report
Status

Fixed

Version

2.1

Component

Code

Created by

🇨🇦Canada franknoel

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

Comments & Activities

Production build 0.71.5 2024