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.

Command icon 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

aman_lnwebworks created an issue. See original summary.

aman_lnwebworks’s picture

Assigned: aman_lnwebworks » Unassigned

Hi @chaitanyadessai

I have Created MR!2 for the above issue, Could you please review it once?

Thank you !!

chaitanyadessai’s picture

Status: Active » Fixed

Merged thanks. Released 1.0.7

Status: Fixed » Closed (fixed)

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