Library detection failed: LIBVER const has been moved from line 54 to line 55

Created on 3 May 2024, 8 months ago

Problem/Motivation

After the upgrade of Google PHP Client, the GAuth module cannot detect its version and it's not loaded.

Steps to reproduce

update to latest google PHP client

Proposed resolution

increase from 54 to any number > 55 the variable "$line_number" in the implementation of hook_libraries_info (gauth_libraries_info).

Remaining tasks

review and make new release

User interface changes

none

API changes

none

Data model changes

none

i attach a git patch to solve the problem, with $line_number = 60.
The patch is tested and works 100% also with old lib versions

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇮🇹Italy Pentium

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

Comments & Activities

Production build 0.71.5 2024