Fatal error: Uncaught exception 'Doctrine\DBAL\DBALException' with message 'LIMIT argument offset=-10 is not valid' in /var/www/viatron/libs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Platforms/AbstractPlatform.php:3312 Stack trace: #0 /var/www/viatron/libs/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(1092): Doctrine\DBAL\Platforms\AbstractPlatform->modifyLimitQuery('SELECT t0.docum...', 10, -10) #1 /var/www/viatron/libs/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(882): Doctrine\ORM\Persisters\Entity\BasicEntityPersister->getSelectSQL(Array, NULL, NULL, 10, -10, Array) #2 /var/www/viatron/libs/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php(181): Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadAll(Array, Array, 10, -10) #3 /var/www/viatron/controller/promotion.controller.php(87): Doctrine\ORM\EntityRepository->findBy(Array, Array, 10, -10) #4 /var/www/viatron/libs/application.php(75): PromotionController->notice('<br', '>') #5 /var/www/v in /var/www/viatron/libs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Platforms/AbstractPlatform.php on line 3312