-
-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stripos() expects parameter 1 to be string, array given #111
Comments
Seeing this on Lumen 8.x as well |
That's weird! Can you provide a simple Laravel project to reproduce this? |
@topclaudy |
I am seeing this as well... specifically when eager loading multi level relationships .ie:
I can fetch the I am using laravel 8 on php 8. The same code is working in the latest laravel 7 on php 7.2 |
Please provide a Laravel project to reproduce your issues |
I'm attempting to create a simple app that reflects this issue. However its not doing it with an sqlite database. My repo I'm seeing the error in is an MSSQL database. So that might be the underlying difference, but I cant easily test the MSSQL database as I don't have one locally installed and production is not write accessible. I have narrowed it down to hasMany relationship. But still unable to reproduce it on an sqlite install -- still only happening on MSSQL. It happens on a single level eager loading hasMany relationship. |
Hi guys, I get the same with this
Anyone sport what I'm missing here? Thanks |
i get this error too. i'm using laravel 8.53.0 |
Same problem here laravel 8.83, using chunk instead of get, it happens when using multiple primary keys |
Hi, when i try to execute this code i got this error
stripos() expects parameter 1 to be string, array given
i use laravel 5.8 and compoships ^2.0
i do not know how and why this last is showing
error description
exception: "ErrorException" file: "/var/www/html/intemporel/vendor/laravel/framework/src/Illuminate/Database/Query/Grammars/Grammar.php" line: 1047 message: "stripos() expects parameter 1 to be string, array given"
`
use \Awobaz\Compoships\Compoships;
`
`
use \Awobaz\Compoships\Compoships;
`
The text was updated successfully, but these errors were encountered: