- Issue created by @Taiger
Feeds imports break when using Geofield.
Caveat: This issue only seems to appear on PHP 8.1.x. PHP <8.2, up to and including 8.1.30.
It appears to not be an issue on PHP 8.2.
Warning: foreach() argument must be of type array|object, null given in /web/modules/contrib/geofield/src/Feeds/Target/Geofield.php on line 92
Run a feeds import using on a content type that uses Geofield.
The error breaks the import.
See attached patch which resolves the issue.
Active
1.61
Code