Error when try to add a translation

Created on 23 March 2023, over 1 year ago

Problem/Motivation

When you try to add translation to commerce_bundle_variation entity,
it returns the next error:

The website encountered an unexpected error. Please try again later.
TypeError: uasort(): Argument #1 ($array) must be of type array, null given in uasort() (line 65 of core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionPluginManager.php).
uasort(NULL, Array) (Line: 65)
Drupal\Core\Entity\EntityReferenceSelection\SelectionPluginManager->getPluginId('commerce_bundle_variation', 'commerce_bundle_variation') (Line: 50)
Drupal\Core\Entity\EntityReferenceSelection\SelectionPluginManager->getInstance(Array) (Line: 101)
Drupal\Core\Entity\EntityReferenceSelection\SelectionPluginManager->getSelectionHandler(Object, Object) (Line: 97)
πŸ› Bug report
Status

Closed: duplicate

Version

1.2

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine rollins

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

Comments & Activities

Production build 0.71.5 2024