- Issue created by @bigtings
I cannot reproduce the issue. We get the default value in the hook_install(). It looks like you're having some problem with that. But maybe it's related to the old issue #488000 → . Let's wait, if people get this issue, we'll set the default value in an extra location.
- Status changed to Postponed: needs info
over 1 year ago 3:15pm 18 August 2023 - Assigned to wombatbuddy
- Status changed to Active
over 1 year ago 12:25pm 21 August 2023 -
wombatbuddy →
committed 7d8ec1f7 on 2.x
Issue #3381895 by aouko: Batch process stuck with error: Argument #2 ()...
-
wombatbuddy →
committed 7d8ec1f7 on 2.x
I removed hook_install() and also changed the code so that it does the same as your code:
$hashes = \Drupal::state()->get('image_field_to_media.hashes_of_image_files', []);
I hope this problem won't appear anymore.
- Status changed to Fixed
over 1 year ago 3:42pm 27 August 2023 Automatically closed - issue fixed for 2 weeks with no activity.