Showing posts with label KnpPaginator. Show all posts
Showing posts with label KnpPaginator. Show all posts

Monday, November 12, 2012

Did KnpPaginator just break?

I just updated my symfony using Composer (which also updated my Doctrine etc). All of a sudden I now get the error 'Invalid parameter number: number of bound variables does not match number of tokens'.

I was able to fix this by making a change to /vendor/knplabs/knp-components/src/Knp/Component/Pager/Event/Subscriber/Paginate/Doctrine/ORM/QuerySubscriber.php