-
Notifications
You must be signed in to change notification settings - Fork 141
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
Error while filtering #205
Comments
This was referenced Jul 23, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On complex where statements the WhereWalker throws this error:
Catchable Fatal Error: Argument 1 passed to Knp\Component\Pager\Event\Subscriber\Filtration\Doctrine\ORM\Query\WhereWalker::expressionContainsFilter() must be an instance of Doctrine\ORM\Query\AST\ConditionalExpression, instance of Doctrine\ORM\Query\AST\ConditionalTerm given, called in /var/www/communalfm-symfony/vendor/knplabs/knp-components/src/Knp/Component/Pager/Event/Subscriber/Filtration/Doctrine/ORM/Query/WhereWalker.php on line 192 and defined
Exemple where statement:
WHERE :object MEMBER OF tdf.objects AND ( (oacc_obj_res.read = 1 AND oacc_obj_res.user = :user) OR oacc_obj_res.id IS NULL OR (aacc_obj_res.read = 1 AND aacc_obj_res.user = :user) OR aacc_obj_res.id IS NULL )
The text was updated successfully, but these errors were encountered: