managed_file Notice: Undefined index: XXX in file_ajax_upload() (line 263 of

Created on 21 April 2018, over 6 years ago
Updated 25 July 2023, over 1 year ago

problem by managed_file filed type in tableform, back error ( Notice: Undefined index: fid_mobile in file_ajax_upload() (line 263 of ..\modules\file\file.module). )
I use

 'fid_mobile' => array(
        '#type' => 'managed_file',
        '#required' => false,
        '#upload_location' => 'public://', 
        '#multiple' => false,
        '#upload_validators' => [
          'file_validate_extensions' => ['png'],
          'file_validate_size' => array (1024 * 1024 * 30), 
        ],
      ),
🐛 Bug report
Status

Active

Version

1.2

Component

Code

Created by

🇮🇷Iran dibadt

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