Update hook needed to import new configuration settings on existing sites

Created on 9 May 2023, over 1 year ago

Problem/Motivation

Sites upgrading to 3.0.1 receive a fatal error due to the changes in the configuration settings. This error was reported here:
https://www.drupal.org/project/gtranslate/issues/3350875 πŸ› Warning: foreach() argument must be of type array|object GTranslateBlock.php RTBC

Steps to reproduce

Proposed resolution

Add an update hook to import the new configuration changes. Retain current user settings from previous versions.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mmarler

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

Comments & Activities

Production build 0.71.5 2024