Verifique los datos duplicados en la matriz PHP
$counts = array_count_values($array);
$duplicate_title = array_filter($array, function ($value) use ($counts) {
return $counts[$value] > 1;
});
Easy Elephant