- Issue created by @L_VanDamme
- Status changed to Needs review
over 1 year ago 6:01am 25 July 2023
When saving a Conditional404Page entity for the first time (on creation), following Warning is thrown:
Warning: Undefined array key "#empty_value" in Drupal\Core\Form\FormValidator->performRequiredValidation() (line 362 of core/lib/Drupal/Core/Form/FormValidator.php).
This is caused by the lack of a default value for the weight field.
Install the module and create a Conditional404Page
Add a fallback for the weight field in case the entity does not exist.
Needs review
2.0
Code