php-schulung.de

Sonata Admin Filter: Invalid parameter number: Stacktrace

Solution: A solution has been posted to stack overflow: http://stackoverflow.com/questions/23527519/

Exception: Sonata Admin Filter: Invalid parameter number: number of bound variables does not match number of tokens

Stacktrace

[1] Doctrine\ORM\Query\QueryException: Invalid parameter number: number of bound variables does not match number of tokens
    at n/a
        in /var/www/dev.admin.whofinance.de/shared/vendor/doctrine/orm/lib/Doctrine/ORM/Query/QueryException.php line 69

    at Doctrine\ORM\Query\QueryException::invalidParameterNumber()
        in /var/www/dev.admin.whofinance.de/shared/vendor/doctrine/orm/lib/Doctrine/ORM/Query.php line 255

    at Doctrine\ORM\Query->_doExecute()
        in /var/www/dev.admin.whofinance.de/shared/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php line 753

    at Doctrine\ORM\AbstractQuery->execute(null, '4')
        in /var/www/dev.admin.whofinance.de/shared/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php line 610

    at Doctrine\ORM\AbstractQuery->getSingleResult('4')
        in /var/www/dev.admin.whofinance.de/shared/vendor/doctrine/orm/lib/Doctrine/ORM/AbstractQuery.php line 637

    at Doctrine\ORM\AbstractQuery->getSingleScalarResult()
        in /var/www/dev.admin.whofinance.de/shared/vendor/sonata-project/doctrine-orm-admin-bundle/Datagrid/ProxyQuery.php line 179

    at Sonata\DoctrineORMAdminBundle\Datagrid\ProxyQuery->getSingleScalarResult()
        in /var/www/dev.admin.whofinance.de/shared/vendor/sonata-project/doctrine-orm-admin-bundle/Datagrid/Pager.php line 40

    at Sonata\DoctrineORMAdminBundle\Datagrid\Pager->computeNbResult()
        in /var/www/dev.admin.whofinance.de/shared/vendor/sonata-project/doctrine-orm-admin-bundle/Datagrid/Pager.php line 66

    at Sonata\DoctrineORMAdminBundle\Datagrid\Pager->init()
        in /var/www/dev.admin.whofinance.de/releases/20140506092818/app/cache/prod/classes.php line 9940

    at Sonata\AdminBundle\Datagrid\Datagrid->buildPager()
        in /var/www/dev.admin.whofinance.de/releases/20140506092818/app/cache/prod/classes.php line 9995

    at Sonata\AdminBundle\Datagrid\Datagrid->getForm()
        in /var/www/dev.admin.whofinance.de/shared/vendor/sonata-project/admin-bundle/Sonata/AdminBundle/Controller/CRUDController.php line 175

    at Sonata\AdminBundle\Controller\CRUDController->listAction()
        in  line 

    at call_user_func_array(array(object(ReviewAdminController), 'listAction'), array())
        in /var/www/dev.admin.whofinance.de/releases/20140506092818/app/bootstrap.php.cache line 2863

    at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '1')
        in /var/www/dev.admin.whofinance.de/releases/20140506092818/app/bootstrap.php.cache line 2837

    at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '1', true)
        in /var/www/dev.admin.whofinance.de/releases/20140506092818/app/bootstrap.php.cache line 2966

    at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '1', true)
        in /var/www/dev.admin.whofinance.de/releases/20140506092818/app/bootstrap.php.cache line 2246

    at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
        in /var/www/dev.admin.whofinance.de/releases/20140506092818/web/app.php line 26