Problem/Motivation
An error on the Shorthand Story add/edit page:
TypeError: array_push(): Argument #1 ($array) must be of type array, null given in array_push() (line 165 of modules/contrib/shorthand/src/Plugin/Field/FieldWidget/LocalShorthandStorySelectFieldWidget.php).
Steps to reproduce
- Download a story on the /admin/content/shorthand page
- Go to the shorthand and delete that story
- Visit the story add page /node/add/shorthand_story
Issue fork shorthand-3476209
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3476209-
changes, plain diff MR !43
- 3476209-an-error-on
compare
Comments
Comment #3
ooa33 commentedComment #4
ooa33 commentedAn new patch is here
Comment #6
jannakha commentedthank you for your contribution!
patch applies, issue is fixed.
RTBC
Comment #8
vladimirausThank you! Committed! 🍰