Fatal error: Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'quantity_products' cannot be null in /var/www/html/vendor/doctrine/dbal/src/Driver/PDO/Statement.php:92 Stack trace: #0 /var/www/html/vendor/doctrine/dbal/src/Driver/PDO/Statement.php(92): PDOStatement->execute(NULL) #1 /var/www/html/vendor/doctrine/dbal/src/Statement.php(189): Doctrine\DBAL\Driver\PDO\Statement->execute(NULL) #2 /var/www/html/vendor/doctrine/dbal/src/Statement.php(230): Doctrine\DBAL\Statement->execute(NULL) #3 /var/www/html/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(276): Doctrine\DBAL\Statement->executeStatement() #4 /var/www/html/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(1113): Doctrine\ORM\Persisters\Entity\BasicEntityPersister->executeInserts() #5 /var/www/html/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(408): Doctrine\ORM\UnitOfWork->executeInserts(Object(Doctrine\ORM\Mapping\ClassMetadata)) #6 /var/www/html/vendor/doctrine/orm/lib/Doctrine/ORM/Ent in /var/www/html/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php on line 111