Problem/Motivation

Hi! I receive the follow error message when I go to SkipForm page in Drupal 8.9.13 version:

Warning: in_array() expects parameter 2 to be array, null given in Drupal\notify\Form\SkipForm->buildForm() (line 143 of modules/contrib/notify/src/Form/SkipForm.php).

Steps to reproduce

1) Install the module
2) Go to Administration -> Configuration -> People -> Notify Settings -> Skip Flags.
3) You will see the error message.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

CommentFileSizeAuthor
#2 3221920-2.patch605 byteslarisse

Comments

larisse created an issue. See original summary.

larisse’s picture

Assigned: larisse » Unassigned
Status: Active » Needs review
StatusFileSize
new605 bytes

I create a patch to remove the error message.

  • larisse authored 3587968 on 2.0.x
    Issue #3221920 by larisse, gisle: Fixed invalid argument in SkipForm->...
gisle’s picture

Status: Needs review » Fixed

Pushed to the latest snapshot of 2.0.x-dev. Thanks for the patch.

larisse’s picture

Thank you! :)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.