Fatal error: Uncaught ArgumentCountError: Too few arguments to function {closure}(), 1 passed and exactly 3 expected in /in/BCoVZ:24
Stack trace:
#0 [internal function]: {closure}(Array)
#1 /in/BCoVZ(22): array_filter(Array, Object(Closure))
#2 {main}
thrown in /in/BCoVZ on line 24
Process exited with code 255.
Fatal error: Uncaught ArgumentCountError: Too few arguments to function {closure}(), 1 passed and exactly 3 expected in /in/BCoVZ:24
Stack trace:
#0 [internal function]: {closure}(Array)
#1 /in/BCoVZ(27): array_filter(Array, Object(Closure))
#2 {main}
thrown in /in/BCoVZ on line 24
Process exited with code 255.
Warning: Missing argument 2 for {closure}() in /in/BCoVZ on line 24
Warning: Missing argument 3 for {closure}() in /in/BCoVZ on line 24
Array
(
[name] => a1
[second_name] => a2
)
Notice: Undefined variable: field in /in/BCoVZ on line 26
Notice: Undefined index: in /in/BCoVZ on line 26
Notice: Undefined variable: search in /in/BCoVZ on line 26
Warning: Missing argument 2 for {closure}() in /in/BCoVZ on line 24
Warning: Missing argument 3 for {closure}() in /in/BCoVZ on line 24
Array
(
[name] => b1
[second_name] => b2
)
Notice: Undefined variable: field in /in/BCoVZ on line 26
Notice: Undefined index: in /in/BCoVZ on line 26
Notice: Undefined variable: search in /in/BCoVZ on line 26
Warning: Missing argument 2 for {closure}() in /in/BCoVZ on line 24
Warning: Missing argument 3 for {closure}() in /in/BCoVZ on line 24
Array
(
[name] => c1
[second_name] => c2
)
Notice: Undefined variable: field in /in/BCoVZ on line 26
Notice: Undefined index: in /in/BCoVZ on line 26
Notice: Undefined variable: search in /in/BCoVZ on line 26
Array
(
[a] => Array
(
[name] => a1
[second_name] => a2
)
[b] => Array
(
[name] => b1
[second_name] => b2
)
[c] => Array
(
[name] => c1
[second_name] => c2
)
)