- Issue created by @kamkejj
- πΊπΈUnited States kamkejj WI
cloned from https://www.drupal.org/project/conditional_404_pages/issues/3376718 π Warning on 404 page creation Active
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.
cloned from https://www.drupal.org/project/conditional_404_pages/issues/3376718 π Warning on 404 page creation Active