Notice: Undefined index: max_resolution in Drupal\media_library\Form\FileUploadForm->buildInputElement() (line 167 of /var/www/web/core/modules/media_library/src/Form/FileUploadForm.php). =>

Created on 19 May 2020, over 4 years ago
Updated 9 September 2023, about 1 year ago

Problem/Motivation

I have a field where users can select between image or video.
And after open the modal I'm receiving and warning message below (you can see on the screenshot)

"Notice: Undefined index: max_resolution in Drupal\media_library\Form\FileUploadForm->buildInputElement() (line 167 of /var/www/web/core/modules/media_library/src/Form/FileUploadForm.php)."

Steps to reproduce

TBA

Proposed resolution

Remaining tasks

Complete steps to reproduce the issue β†’ (starting from "Install Drupal core").

User interface changes

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Closed: cannot reproduce

Version

9.5

Component
MediaΒ  β†’

Last updated about 12 hours ago

Created by

πŸ‡§πŸ‡·Brazil aluzzardi Pelotas, RS

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

    @aluzzardi, Thank you for reporting this problem. We rely on issue reports like this to improve Drupal core.

    A maintainer asked for steps to reproduce this 2 years ago and none have been supplied. In order to make progress that is needed so we can write a test and test that the fix works.

    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 about 1 year ago
  • πŸ‡ΊπŸ‡ΈUnited States Chris Matthews

    Steps to reproduce have not been provided in 7 months so closing this issue accordingly. If steps to reproduce can be provided then please feel free to reopen.

Production build 0.71.5 2024