- Issue created by @onfire84
- π³πΏNew Zealand quietone
Changes are made on on 11.x (our main development branch) first, and are then back ported as needed according to the Core change policies β .
Drupal 10 is in maintenance mode with a limited set of allow changes β .
- Status changed to Closed: duplicate
3 months ago 11:17am 13 June 2025 - πΊπ¦Ukraine mykola dolynskyi Poltava
lol what
??
supposed to do?
uasort($selection_handler_groups[$base_plugin_id], ['Drupal\Component\Utility\SortArray', 'sortByWeightElement'] ?? []);
in https://git.drupalcode.org/issue/drupal-3509376/-/commit/339963dc299b560...
- πΊπ¦Ukraine mykola dolynskyi Poltava
in my case this is happening when
base_plugin_id === 'inline_entity_form'
@core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionPluginManager.php::getPluginId($target_type, $base_plugin_id)
- πΊπ¦Ukraine mykola dolynskyi Poltava
SOLUTION https://www.drupal.org/project/drupal/issues/3542643 π Argument #1 ($array) must be of type array, null given in uasort() (line 74 of core/lib/Drupal/Core/Entity/EntityReferenceSelection/SelectionPluginManager.php) Needs work