Uncaught TypeError: Cannot read property '2' of null

Created on 2 December 2020, almost 4 years ago
Updated 23 July 2023, over 1 year ago

Problem/Motivation

Cannot Add/Upload file for paragraph file field when creating/editing a node.

Here is the error message in console:

Uncaught TypeError: Cannot read property '2' of null
    at Object.h [as parseSize] (js_zG50ZfD81CmcKNYgd2S6zkK5xr7Nsdlbuneqv3queHo.js:2883)
    at f (js_zG50ZfD81CmcKNYgd2S6zkK5xr7Nsdlbuneqv3queHo.js:2899)
    at js_zG50ZfD81CmcKNYgd2S6zkK5xr7Nsdlbuneqv3queHo.js:2899
    at Object.n [as each] (js_zG50ZfD81CmcKNYgd2S6zkK5xr7Nsdlbuneqv3queHo.js:2883)
    at o.Uploader.N (js_zG50ZfD81CmcKNYgd2S6zkK5xr7Nsdlbuneqv3queHo.js:2899)
    at new o.Uploader (js_zG50ZfD81CmcKNYgd2S6zkK5xr7Nsdlbuneqv3queHo.js:2899)
    at HTMLDivElement.<anonymous> (js_zG50ZfD81CmcKNYgd2S6zkK5xr7Nsdlbuneqv3queHo.js:2900)
    at Function.each (js_zG50ZfD81CmcKNYgd2S6zkK5xr7Nsdlbuneqv3queHo.js:2)
    at S.fn.init.each (js_zG50ZfD81CmcKNYgd2S6zkK5xr7Nsdlbuneqv3queHo.js:2)
    at S.fn.init.e.fn.pluploadQueue (js_zG50ZfD81CmcKNYgd2S6zkK5xr7Nsdlbuneqv3queHo.js:2900)

Steps to reproduce

  1. Install Paragraph, Plupload and Plupload file widget module.
  2. Create a Paragraph type and add a file field in it.
  3. Goto Manage form display and set the file field widget to Plupload Widget
  4. Add this paragraph type as reference field to any content type
  5. Try to create new content for the content type.
  6. Add/Upload file for the file field

🐛 Bug report
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

🇮🇳India codersukanta

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