Error when upgrading to 4.0.0-rc3

Created on 5 September 2025, 2 months ago

Problem/Motivation

Error when upgrading to 4.0.0-rc3

Steps to reproduce

Upgrade from 3.0.1

composer require 'drupal/image_field_caption:^4.0@RC'

Run database updates and I receive:

TypeError: Unsupported operand types: int + array in image_field_caption_post_update_apply_new_settings_3() (line 35)

specifically this line: $settings['default_image'] += $default_settings['default_image']; -> $settings['default_image'] has a 0 and $default_settings['default_image'] is an array?

🐛 Bug report
Status

Active

Version

4.0

Component

Code

Created by

🇬🇧United Kingdom rviner

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

Comments & Activities

Production build 0.71.5 2024