Undefined variable $requirements

Created on 3 January 2024, 6 months ago
Updated 19 January 2024, 5 months ago

Problem/Motivation

When running drush to update, the error "Undefined variable $requirements google_calendar_service.install:30" is thrown in PHP version 8.1

Steps to reproduce

drush updb -y

Proposed resolution

define $requirements as an array at the start of the hook_requirements block

πŸ› Bug report
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States RobbMLewis

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024