Fatal error: Uncaught Doctrine\DBAL\DBALException: Offset must be a positive integer or zero, -10 given in /home/popofantti/www/vendor/doctrine/dbal/lib/Doctrine/DBAL/Platforms/AbstractPlatform.php:3352 Stack trace: #0 /home/popofantti/www/vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Pagination/LimitSubqueryOutputWalker.php(283): Doctrine\DBAL\Platforms\AbstractPlatform->modifyLimitQuery('SELECT DISTINCT...', 10, -10) #1 /home/popofantti/www/vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Pagination/LimitSubqueryOutputWalker.php(318): Doctrine\ORM\Tools\Pagination\LimitSubqueryOutputWalker->walkSelectStatementWithoutRowNumber(Object(Doctrine\ORM\Query\AST\SelectStatement), false) #2 /home/popofantti/www/vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Pagination/LimitSubqueryOutputWalker.php(262): Doctrine\ORM\Tools\Pagination\LimitSubqueryOutputWalker->addMissingItemsFromOrderByToSelect(Object(Doctrine\ORM\Query\AST\SelectStatement)) #3 /home/popofantti/www/vendor/doctrine/orm/lib/Doctrine/ORM/Tools/Pagination/LimitSubqueryOutputWalk in /home/popofantti/www/templates/bundles/TwigBundle/Exception/error500.html.twig on line 22