You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in this code on vendors/InfyOmLabs/generator-builder/controllers/GeneratorBuilderController.php ;
private function validateFields($fields)
{
$fieldsGroupBy = collect($fields)->groupBy(function ($item) {
return strtolower($item['name']);
});
$duplicateFields = $fieldsGroupBy->filter(function (Collection $groups) {
return $groups->count() > 1;
});
if (count($duplicateFields)) {
throw new \Exception('Duplicate fields are not allowed');
}
return true;
}
return error responseText: "{↵ "message": "Undefined index: name".
How to fix this?
The text was updated successfully, but these errors were encountered:
in this code on vendors/InfyOmLabs/generator-builder/controllers/GeneratorBuilderController.php ;
private function validateFields($fields)
{
$fieldsGroupBy = collect($fields)->groupBy(function ($item) {
return strtolower($item['name']);
});
return error responseText: "{↵ "message": "Undefined index: name".
How to fix this?
The text was updated successfully, but these errors were encountered: