Closed (fixed)
Project:
Address
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Jun 2022 at 07:22 UTC
Updated:
31 Jan 2023 at 08:34 UTC
Jump to comment: Most recent
When using PHP 8.1 the post_update call throws a typeerror for count() if "null" was given.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
hitchshockThe issue is reproducible for me too.
But the previous solution is a bit wrong. array_pop() updates $sandbox['fields'] on each sandbox iteration, it means that $sandbox['count'] will be updated too what is wrong. We have to set $sandbox['count'] only once.
Comment #5
jsacksick commentedCommitted, thanks!!