Incorrect library version in ludwig.json

Created on 28 February 2023, almost 2 years ago
Updated 18 March 2023, almost 2 years ago

Problem/Motivation

The 8.x-2.x branch requires the fastglass/sengdrid library 2.0 version but the module's ludwig.json file isn't updated, it still points to the 1.x version of the library.

After upgrading the module to the 8.x-2.1 version using the Drupal admin UI if Ludwig is being used to manage the required libraries the site crashes with a white page / "Unexpected PHP error..." each time it needs to send out an email.

With ludwig.json file updated as follows the error is gone:

{
  "require": {
    "fastglass/sendgrid": {
      "version": "v2.0.0",
      "url": "https://github.com/taz77/sendgrid-php-ng/archive/2.0.0.zip"
    },
    "sendgrid/smtpapi": {
      "version": "v0.6.6",
      "url": "https://github.com/sendgrid/smtpapi-php/archive/0.6.6.zip"
    },
    "html2text/html2text": {
      "version": "v4.3.1",
      "url": "https://github.com/mtibben/html2text/archive/4.3.1.zip"
    }
  }
}

I'm not sure if sendgrid/smtpapi version also needs to be changed to v0.7

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡·πŸ‡ΈSerbia csbt23

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

Comments & Activities

Production build 0.71.5 2024