After install module null array in the settings form

Created on 24 May 2018, over 6 years ago
Updated 13 April 2023, over 1 year ago

When module installed. In the page /admin/config/content/nodeviewcount
has the errors:

Warning: in_array() expects parameter 2 to be array, null given in Drupal\nodeviewcount\Form\NodeViewCountSettingsForm->getRoleNamesOptions() (line 205 of modules/contrib/nodeviewcount/src/Form/NodeViewCountSettingsForm.php).
Warning: Invalid argument supplied for foreach() in Drupal\Core\Render\Element\Checkboxes::valueCallback() (line 100 of core/lib/Drupal/Core/Render/Element/Checkboxes.php).
🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇷🇺Russia lexy49

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024