andersao / andersao/l5-repository

Query Expression with laravel 10 and whereRaw query

Aperta
#797 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
PHP
Stelle
4.2k
Fork
880
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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!

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.