0

i have a new error that i can't explain. When i execute a query, whether the result is zero or not i have the error "assert($offset === strlen($sql))"

it comes from the class vendor/doctrine/dbal/src/SQL/Parser.php:115

1

I have looked on the various forums but I can't find anything similar. if i replace the "===" just by "==" it works but it's not a real solution.

just before the return if i dd($query->getQuery()->getResult();), i have the good result but the return $query->getQuery()->getResult() give me the error.

I hope i'm clear !

Have you ever had this type of problem?

EDIT: i have this problem only when i have IN or NOT IN array in my query.

Many thanks

Sam Dee
  • 1
  • 1

0 Answers0