Click here to Skip to main content
15,867,308 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello there,

I am working in Laravel and web socket but I get this error :

preg_match(): Argument #2 ($subject) must be of type string, array given


and the error log you can see via that link:

Laravel error tracking – Flare[^]

Any suggestions?
Thanks in advanced.

What I have tried:

I have checked every single line of code but I didn't get the solution
Posted
Updated 26-Mar-22 0:22am
Comments
Richard MacCutchan 26-Mar-22 6:26am    
Please use the Improve question link above, and add complete details of the code that produces the error. According to the error message you are passing an array instead of a string.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900