Status dashboard check errors when backup migrate module not enabled

Created on 22 October 2024, 2 months ago

Problem/Motivation

If client site does not have backup migrate module enabled, status dashboard check throws following error:
Error
: Class "Drupal\backup_migrate\Entity\Schedule" not found in
status_dashboard_client_extras_status_dashboard_json_response_alter()
(line
44
of
/app/web/modules/contrib/status_dashboard_client_extras/status_dashboard_client_extras.module
).

Proposed resolution

Conditionally retrieve backup schedule data only if backup migrate module is enabled

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom ashlewis

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024