Type error: Argument 1 passed to Illuminate\Database\Grammar::parameterize() code example
Example: Type error: Argument 1 passed to Illuminate\Database\Grammar::parameterize()
Error:Type error: Argument 1 passed to Illuminate\Database\Grammar::parameterize()
$not->addNot([$P->u_id],'Hold', 6, '0');
Solve: Remove this [] from first parameter.
$not->addNot($P->u_id,'Hold', 6, '0');