Updating to Thunder 7 - drush updb JSON decoding error

Created on 4 October 2023, over 1 year ago
Updated 17 October 2023, over 1 year ago

Problem/Motivation

We are in the process of updating to Thunder 7/Drupal 10. We are currently on Thunder 6.5.7/Drupal 9.5.11.

We are following the instructions on this page:
https://thunder.github.io/developer-guide/migration/migrate-6-7.html

We've gotten composer update to run successfully, but when we try to run drush updb, we're getting this error:

Unable to decode output into JSON: Syntax error
 
  Error: Call to a member function setStatus() on null in Drupal\config_selec
  tor\ConfigSelector->selectConfigOnUninstall() (line 221 of /var/www/html/do
  croot/modules/contrib/config_selector/src/ConfigSelector.php)

I haven't seen any issues that seem related in Thunder or Config Selector issue queues. Any thoughts?

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

7.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mjk73

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

Comments & Activities

  • Issue created by @mjk73
  • Status changed to Fixed over 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States mjk73

    I'm marking this as fixed. For anyone running into this, we were able to resolve by updating our config yaml files - drush cex - and importing them on our drupal10 branch.

    We had to update two of our config files - views.view.content.yml and views.view.content_search_api.yml .

    Both needed this block added:

    third_party_settings:
      config_selector:
        feature: thunder_content_view
        priority: 0

    After adding this and running drush cim, this error went away.

    Thanks for you help daniel.bosen!

  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024