Conflict with layout builder in core

Created on 29 November 2019, over 5 years ago
Updated 1 January 2025, 6 months ago

After clone a content type. Following error occur.

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: /azalen/batch?id=112&op=do_nojs&op=do
StatusText: OK
ResponseText: Recoverable fatal error: Object of class Drupal\layout_builder\Section could not be converted to string in Drupal\content_type_clone\Helpers\ContentTypeCloneHelper::replaceInArray() (line 38 of C:\xamppnew\htdocs\azalen\modules\contrib\content_type_clone\src\Helpers\ContentTypeCloneHelper.php).

After disable the layout builder in the the manage display, the content type could be cloned.

๐Ÿ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

๐Ÿ‡ง๐Ÿ‡ชBelgium belba

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024