Steps to reproduce
1: Installed the module using Composer with the command: composer require 'drupal/admin_status_report:^1.0'.
2: when we tried to enable this module it threw a warning
Warning: foreach() argument must be of type array|object, null given in Drupal\admin_status_report\EventSubscriber\AdminStatusEventSubscriber->kernelRequest() (line 86 of modules\contrib\admin_status_report\src\EventSubscriber\AdminStatusEventSubscriber.php).
3: When we went /admin/config/system/admin_status_report it showed warnings.
Warning: Undefined array key "config" in Drupal\admin_status_report\Form\AdminStatusReportForm->buildForm() (line 137 of modules\contrib\admin_status_report\src\Form\AdminStatusReportForm.php).
Warning: foreach() argument must be of type array|object, string given in Drupal\Core\Render\Element\Checkboxes::valueCallback() (line 113 of core\lib\Drupal\Core\Render\Element\Checkboxes.php).
I've attached an image illustrating my actions—installing the module and searching within the extend panel.
| Comment | File | Size | Author |
|---|---|---|---|
| admin_status_report.png | 89.38 KB | aman_lnwebworks | |
| admin_status_report form.png | 37.57 KB | aman_lnwebworks |
Issue fork admin_status_report-3458736
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:
Comments
Comment #3
aman_lnwebworks commentedHi @chaitanyadessai
I have Created MR!2 for the above issue, Could you please review it once?
Thank you !!
Comment #4
chaitanyadessai commentedMerged thanks. Released 1.0.7