Error: Call to a member function getFilename() on null

Created on 14 June 2021, over 3 years ago
Updated 16 February 2023, almost 2 years ago

Problem/Motivation

I ran the import, and got the following error:

The website encountered an unexpected error. Please try again later.
Error: Call to a member function getFilename() on null in Drupal\media_library_importer\Form\ImportForm->createFileEntity() (line 239 of modules/composer/media_library_importer/src/Form/ImportForm.php).

Steps to reproduce

  • Enable module
  • Run module

Proposed resolution

Not sure how to fix this yet. I'll look into it to see if I can propose a fix.

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States paramnida

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.

Production build 0.71.5 2024