<?php

namespace Intracto\SecretSantaBundle\Entity;

use Doctrine\ORM\EntityRepository;

class PoolRepository extends EntityRepository
{
    public function findAllAdminPools($email)
    {
        $qb = $this->_em->createQueryBuilder();
        $qb->addSelect('pool.listurl')
            ->addSelect('pool.date')
            ->addSelect('pool.locale')
            ->from('IntractoSecretSantaBundle:Pool', 'pool')
            ->join('pool.entries', 'entries')
            ->andWhere('entries.poolAdmin = true')
            ->andWhere('entries.email = :email')
            ->andWhere('pool.date >= :date')
            ->setParameters([
                'email' => $email,
                'date' => new \DateTime('-1 week'),
            ]);

        return $qb->getQuery()->getResult();
    }
}

<?php

namespace Intracto\SecretSantaBundle\Entity;

use Doctrine\ORM\EntityRepository;

class PoolRepository extends EntityRepository
{
    public function findAllAdminPools($email)
    {
        $qb = $this->_em->createQueryBuilder();
        $qb->addSelect('pool.listurl')
            ->addSelect('pool.eventdate')
            ->addSelect('pool.locale')
            ->from('IntractoSecretSantaBundle:Pool', 'pool')
            ->join('pool.entries', 'entries')
            ->andWhere('entries.poolAdmin = true')
            ->andWhere('entries.email = :email')
            ->andWhere('pool.eventdate >= :date')
            ->setParameters([
                'email' => $email,
                'date' => new \DateTime('-1 week'),
            ]);

        return $qb->getQuery()->getResult();
    }
}

Fix error on requesting forgot-link mail
Fix error on requesting forgot-link mail
