Not working with entity_clone greater than 8.x-1.0-beta4

Created on 8 June 2021, over 3 years ago
Updated 11 October 2023, about 1 year ago

Problem/Motivation

Getting error ArgumentCountError: Too few arguments to function Drupal\entity_clone\Form\EntityCloneForm::__construct(), 5 passed in /var/www/html/web/modules/contrib/menu_link_clone/src/Form/EntityMenuLinkCloneForm.php on line 63 and exactly 8 expected in Drupal\entity_clone\Form\EntityCloneForm->__construct() (line 110 of /var/www/html/web/modules/contrib/entity_clone/src/Form/EntityCloneForm.php) when opening the clone page.

Steps to reproduce

Update the instance of Drupal and all contrib modules. Specially entity_clone

Proposed resolution

Update code to match the changes made in entity_clone > EntityCloneForm::_construct

πŸ› Bug report
Status

Fixed

Version

3.2

Component

Code

Created by

πŸ‡¦πŸ‡ΊAustralia hirani89

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