hook_requirements() is incorrectly reporting Recurly library is not installed

Created on 22 December 2023, 9 months ago
Updated 11 April 2024, 5 months ago

Problem/Motivation

The code in hook_requirements is

if (!class_exists('Recurly_Client')) {
      $requirements['recurly']['value'] = t('The required Recurly PHP library is installed.');
      $requirements['recurly']['severity'] = REQUIREMENT_OK;
    }

This incorrectly reports that the library is not installed.

Steps to reproduce

Visit the status report page.

Proposed resolution

remove the ! from class_exists()

πŸ› Bug report
Status

Fixed

Version

5.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States loze

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