Warning: foreach() argument must be of type array|object, null given in AntiDuplicatesFormAlter::duplicatesSearch()

Created on 28 September 2023, about 1 year ago
Updated 12 May 2024, 7 months ago

Problem/Motivation

The following error is triggered when a duplicates search is triggered while the title field is empty:

Warning: foreach() argument must be of type array|object, null given in Drupal\anti_duplicates\Form\AntiDuplicatesFormAlter::duplicatesSearch() (regel 112 van /[...]/web/modules/contrib/anti_duplicates/src/Form/AntiDuplicatesFormAlter.php)

Steps to reproduce

Trigger a duplicated search while the title field is empty.

🐛 Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

🇧🇪Belgium dieterholvoet Brussels

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024