Commerce entity clone error

Created on 5 April 2025, 12 days ago

Not sure where I got this commerce entity clone module but it throws this

Error: Call to undefined method Drupal\consumers\Entity\Consumer::setVariations() in Drupal\commerce_entity_clone\EventSubscriber\ProductEntityCloneSubscriber->ProductEntityPreClone() (line 22 of modules/commerce_entity_clone/src/EventSubscriber/ProductEntityCloneSubscriber.php).
call_user_func(Array, Object, 'entity_clone.pre_clone', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'entity_clone.pre_clone') (Line: 384)
Drupal\entity_clone\Form\EntityCloneForm->submitForm(Array, Object)
call_user_func_array(Array, Array) (Line: 129)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object) (Line: 67)
Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object) (Line: 597)
Drupal\Core\Form\FormBuilder->processForm('entity_clone_form', Array, Object) (Line: 326)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73

More

in any program that attempts a clone necessitating an uninstall

πŸ› Bug report
Status

Active

Version

2.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bobburns

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

Comments & Activities

Production build 0.71.5 2024