Error running config import "Call to a member function delete() on null in Drupal\Core\Config\ConfigImporter->checkOp()"

Created on 16 February 2021, over 4 years ago
Updated 31 January 2023, over 2 years ago
💬 Support request
Status

Postponed: needs info

Version

9.5

Component
Configuration  →

Last updated 6 days ago

Created by

🇺🇦Ukraine niko-

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.

  • 🇮🇪Ireland b0gucki3 Limerick

    I can confirm that #8 works for me on 9.5.2.

  • 🇺🇸United States srdtwc Skokie, IL

    Confirmed #8 is still working on 9.5.3 as well

  • Status changed to Needs work almost 2 years ago
  • Let’s treat this as a bug and someone please post a failing test.

  • 🇺🇸United States charginghawk

    If anybody's looking for a fix that doesn't involve patching core, I had success with this:

    I had a lot of items that were failing import, so I created a directory to run a partial import from (partial-080323), and copied one of the config files there. It was a very normal config item, xmlsitemap.settings.yml, that probably wasn't breaking anything. I ran drush config:import --partial --source=../partial-080323/ and got a long string of "Missing required data for configuration:" notices, with this strange kicker:

    The import failed due to the following reasons:
    Deleted and replaced configuration "xmlsitemap.settings"

    For whatever reason, after that, there weren't any config differences anymore and config import worked fine.

  • 🇺🇸United States SocialNicheGuru

    This happened to me as i was fixing my site. This patch saved the day.

Production build 0.71.5 2024