2.2.2 --> 2.2.3 breaks site with PHP error

Created on 17 July 2024, 4 months ago
Updated 30 July 2024, 4 months ago

Problem/Motivation

Updating Mailchimp module from 2.2.2 --> 2.2.3 reliably crashes my entire site. Error message:
[16-Jul-2024 20:13:32] Uncaught PHP Exception Error: "Class "\Mailchimp\Mailchimp" not found" at /home/oursite/modules/contrib/mailchimp/src/ClientFactory.php line 161

Steps to reproduce

PHP v 8.2
Drupal v 10.2.5
Ludwig v 2.0.7
Both Mailchimp modules 3.0.0 installed
Set to Maintenance mode
In Extend menu, run update module, then run update.php
--> Fatal PHP error in browser
Restored site from backups. Repeat. Same problem.

Proposed resolution

Don't know.

πŸ› Bug report
Status

Active

Version

2.2

Component

General

Created by

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

Comments & Activities

  • Issue created by @neilsky
  • πŸ‡ΊπŸ‡ΈUnited States xenophyle

    This looks like an error you would get when autoloading is not getting triggered. If clearing the cache does not fix this, you might consider using composer, which handles autoloading, as suggested on the Ludwig project page.

Production build 0.71.5 2024