backdrop-contrib/bee

Unhandled warnings if bee status called on multisite without specifying site

Closed this issue · 0 comments

Steps to reproduce

  1. Navigate to multisite docroot
  2. Run bee status

Note - this also happens if the database settings are not defined.

Expected result
Usual multisite status when site not specified

Actual result

 ⚠️  Warning: Undefined variable $telemetry_status
in status_bee_callback() (line 287 of /home/user/bee/commands/status.bee.inc).

 ⚠️  Warning: Undefined variable $telemetry_status
in status_bee_callback() (line 289 of /home/user/bee/commands/status.bee.inc).

 ⚠️  Warning: Undefined variable $telemetry_status
in status_bee_callback() (line 295 of /home/user/bee/commands/status.bee.inc).

 🐝
 Backdrop CMS           1.28.2
 Bee version            1.x-1.2.x-dev
 Bee latest release     1.x-1.1.0
 Bee root directory     /home/user/bee
 Site root directory    /home/user/website/production/docroot
 Site type              Multisite
 Settings.php path      /home/user/website/production/docroot/settings.php
 Drupal compatibility   on
 PHP cli version        8.1.29
 PHP ini path           /opt/alt/php81/etc/php.ini

 ℹ  TELEMETRY
 Status                 off

 Data: None