Error when cloning content type that uses Layout Builder

Created on 9 November 2020, about 4 years ago
Updated 5 February 2023, almost 2 years ago

The following error occurs when attempting to clone a content type that uses layout builder:

php-error web-19678 [09-Nov-2020 12:52:05 America/Chicago] Recoverable fatal error: Object of class Drupal\layout_builder\Section could not be converted to string in /mnt/www/html/moweb9/docroot/modules/contrib/entity_type_clone/src/Controller/EntityTypeCloneController.php on line 34 #0 /mnt/www/html/moweb9/docroot/core/includes/bootstrap.inc(301): _drupal_error_handler_real(4096, 'Object of class...', '/mnt/www/html/m...', 34, Array)

Content types that don't use Layout Builder clone successfully.

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States wrd

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

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