If I upload more than 48 files in the structure, there will be an error

I once posted a similar question.
But I couldn’t solve it because I didn’t know the exact cause.
At that time, I thought it was because my image file size was big.

But now, the capacity per image is 200 kb. But if I upload more than 48 in the structure file, Kirby will get an error.
Haven’t you had this problem before?

blueprint

    columns:
      - width: 1/1
        fields:
          processkr:
            type: structure
            fields:
              title:
                type: text
              description:
                type: textarea
                size: small
                buttons: false
              images:
                type: files
                layout: cards
                template: image
                info: "{{ file.dimensions }}"
                image:
                  ratio: 5/4
                  cover: true

What exactly did you try to do? Upload 48 images in one go?

As you can see in the picture above, I tried to upload 90 color chips.

At first, I tried to upload 90 at the same time, but there was an error.
Then I reduced the number of images until there was no error.
I checked that there are errors starting from 48.

Then you probably run into a timeout issue, you can try to set a higher timeout value in your php.ini.

https://www.php.net/manual/en/info.configuration.php#ini.max-execution-time

Another problem might be PHP: Description of core php.ini directives - Manual

I asked the server administrator to change the timeout setting, and he changed max_execution_time from 30 to 100. But the problem is still the same.

I think this is the problem of server setup, but I don’t know what the problem is.
Since I increased the memory capacity and file capacity of the server, I don’t think there’s a problem with the memory capacity or file capacity.

Is “post_max_size” or “max_file_uploads” a problem?

There is no problem with the file blueprint outside the structure field. However, the problem is only with the file blueprint in the structure field.

Could you be more specific about the “error”? Is there an error message anywhere (console, screen, logfile)? Have you set debug mode in config.php?

I recently had a similar problem.
I increased post_max_size and max_file_uploads in a new .user.ini file and saved it to the projects root which worked for me on the server.
However, for localhost (using Apache) the .user.ini is not processed, it only works if I add
the settings directly to the .htaccess file, i.e.

php_value upload_max_filesize 666M
php_value max_file_uploads 666
php_value post_max_size 666M