No database connection configured for source plugin variable

Created on 2 October 2022, over 2 years ago
Updated 25 November 2024, 6 months ago

Problem/Motivation

I'm attempting to import a Wordpress-6.0.2 WXR file into a brand new Drupal-9.4.7 installation. I run through the steps in the UI, and on the final page where the import should happen, it fails with the error:

Failed to connect to your database server. The server reports the following message: No database connection configured for source plugin variable.

I'm very confused what this error means, as everything else in this Drupal installation is working fine, and my database connection information is already correct in sites/default/settings.php .

If I go back into the Migrations UI and manually execute each of the steps, they complete successfully. Yet, if I blow away everything that was imported, and start over again, it fails all over again with the same data connection error.

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024