Notice: Undefined offset: 0 in Field/FieldWidget/ImageWidget.php on line 122

Created on 15 June 2020, about 4 years ago
Updated 7 September 2023, 9 months ago

Problem/Motivation

I'm getting this image when attempting to add a conditional field - the target field being a name field from the name module and the controlled by field being a list field. This error follows a similar error in FileWidget. That issue and a patch has been posted here: πŸ› Notice: Undefined offset: 0 in /Field/FieldWidget/FileWidget.php on line 195 Closed: works as designed

Notice: Undefined offset: 0 in /app/core/modules/image/src/Plugin/Field/FieldWidget/ImageWidget.php on line 122

Steps to reproduce

TBA

Proposed resolution

TBA

Remaining tasks

Provide complete steps to reproduce the issue β†’ (starting from "Install Drupal core").
Add tests
Patch
Review
Commit

User interface changes

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Closed: cannot reproduce

Version

9.5

Component
Image systemΒ  β†’

Last updated about 18 hours ago

Created by

πŸ‡ΊπŸ‡ΈUnited States brooke_heaton

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.

  • πŸ‡³πŸ‡ΏNew Zealand quietone New Zealand

    As explained in #6 this needs steps to reproduce. Note the related issue has more discussion.

    Since we need more information to move forward with this issue, I am keeping the status to Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.

    Thanks!

  • Status changed to Closed: cannot reproduce 9 months ago
  • πŸ‡³πŸ‡ΏNew Zealand quietone New Zealand

    The needed information to work on this hasn't been supplied.

    Therefore, closing as cannot reproduce. If you are experiencing this problem on a supported version of Drupal reopen the issue, by setting the status to 'Active', and provide complete steps to reproduce the issue β†’ (starting from "Install Drupal core").

    Thanks!

Production build 0.69.0 2024