Upload file showing error Drupal\Component\Plugin\Exception\PluginNotFoundException The "entity:file:undefine" plugin does not exist.

Created on 7 January 2020, over 4 years ago
Updated 1 August 2022, about 2 years ago

After updating Drupal from 8.7.10 to 8.8.1 . It started throw error, while upload file in every file type field in the system.
For eg. Goto /admin/appearance/settings and uncheck checkbox Use the logo supplied by the theme. and try to upload a .png or .jpg logo.

This will show error
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "entity:file:undefined" plugin does not exist. Valid plugin IDs for Drupal\Core\TypedData\TypedDataManager are: formatted_price, entity_revision_reference...

Please provide help.

🐛 Bug report
Status

Closed: duplicate

Version

10.0

Component
File system 

Last updated 1 day ago

Created by

🇮🇳India keshav.k

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.

  • 🇺🇸United States texas-bronius

    #13 is a great technique. But I had trouble with an Excel macro document (.xlsm). Following #13 revealed I needed one of:

    application/vnd.ms-excel.addin.macroEnabled.12
    application/vnd.ms-excel.sheet.binary.macroEnabled.12
    application/vnd.ms-excel.sheet.macroEnabled.12
    application/vnd.ms-excel.template.macroEnabled.12
    

    but that was not enough. Once I also added

    application/octet-stream
    

    my test xlsm file finally uploaded successfully.

Production build 0.71.5 2024