Skip to content
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

Query Expression with laravel 10 and whereRaw query #797

Open
Rasoul-Karimi opened this issue Aug 16, 2023 · 0 comments
Open

Query Expression with laravel 10 and whereRaw query #797

Rasoul-Karimi opened this issue Aug 16, 2023 · 0 comments

Comments

@Rasoul-Karimi
Copy link

hi
i update to laravel 10 from 9 and everywhere is use whereRaw query, i get this error:

`2023-08-16 13:11:00] local.ERROR: [ "status Code:" 0] "Object of class Illuminate\Database\Query\Expression could not be converted to string" on line of file

[2023-08-16 13:11:00] local.ERROR: Object of class Illuminate\Database\Query\Expression could not be converted to string {"userId":1,"exception":"[object] (Error(code: 0): Object of class Illuminate\Database\Query\Expression could not be converted to string at /srv/www/site.com/api/vendor/laravel/framework/src/Illuminate/Database/Query/Grammars/Grammar.php:222)`

before updating, all of these queries work very will!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant