- Issue created by @CNDexter
- Status changed to Needs review
about 2 months ago 5:14am 12 July 2024 - ๐ฎ๐ณIndia sarwan
Hi @CNDexter,
I have fixed this issue "ValueError: array_chunk(): Argument #2 ($length) must be greater than 0 in array_chunk()" and also attached patch ,
please review and verify . ananya.k โ made their first commit to this issueโs fork.
- ๐ฎ๐ณIndia ayush.pandey
@sarwan_verma โ , Can you please elaborate, how you reproduced this issue specifically, and if possible, any screenshots. For Drupal 10.3, the issue is not reproducible, with or without any content in the database. Installing the module works swiftly.
- ๐ท๐ดRomania amateescu
Here's a patch that sets a default value for the
entity_update_batch_size
setting, which might not exist in a site. Also added a safety check if there are no items to purge.However, the
auto_purge.enabled
trash setting isfalse
initially, and the only entity type that's enabled by default isnode
.@CNDexter, are you sure that the error happened when installing the module? And if so, can you check if the
file
entity type already has adeleted
field? -
amateescu โ
committed 24cbcf80 on 3.x
Issue #3460865 by sarwan_verma, amateescu, CNDexter: ValueError:...
-
amateescu โ
committed 24cbcf80 on 3.x
- Status changed to Postponed: needs info
about 2 months ago 9:20am 12 July 2024 - ๐บ๐ธUnited States CNDexter
@sarwan_verma @amateescu @ayush.pandey this was happening after install (not during). I noticed this error happened a bit after install, likely when files started getting moved to the trash. Otherwise it installs cleanly. I'm on 10.2.5 and it looks like the patch in #5 resolves the error. Thank you so very much!
- Status changed to Fixed
about 2 months ago 5:01am 13 July 2024 Automatically closed - issue fixed for 2 weeks with no activity.