SQLSTATE[HY093]: Invalid parameter number on query – Laravel
I am having trouble getting a number instead of a string in my query. I have two tables and a pivot table. File: id name document language Role: id name (admin, partner, dealer, associate) File_role: id file_id role_id I want…