Correction #300 : Erreur 500 à la création d'un référentiel

Connecté en admin,

Lors de la création d'un référentiel, on obtiens cette erreur 500 :

image

détail : Doctrine\DBAL\Exception\SyntaxErrorException: An exception occurred while executing 'INSERT INTO maturity_question (name, position, option, weight, option_reason, id, domain_id) VALUES (?, ?, ?, ?, ?, ?, ?)' with params ["Est-ce qu'un firewall est pr\u00e9sent ?", 0, 0, 1, null, "00304db7-04a8-4260-b8cd-b991c7890e1b", "725ce4f7-0db3-49ee-a583-c4a562a43f8c"]:

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'option, weight, option_reason, id, domain_id) VALUES ('Est-ce qu'un firewall es' at line 1

at vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:98 at Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException() (vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php:182) at Doctrine\DBAL\DBALException::wrapException() (vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php:159) at Doctrine\DBAL\DBALException::driverExceptionDuringQuery() (vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php:2226) at Doctrine\DBAL\Connection->handleExceptionDuringQuery() (vendor/doctrine/dbal/lib/Doctrine/DBAL/Statement.php:185) at Doctrine\DBAL\Statement->execute() (vendor/doctrine/dbal/lib/Doctrine/DBAL/Statement.php:226) at Doctrine\DBAL\Statement->executeStatement() (vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php:280) at Doctrine\ORM\Persisters\Entity\BasicEntityPersister->executeInserts() (vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:1144) at Doctrine\ORM\UnitOfWork->executeInserts() (vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php:430) at Doctrine\ORM\UnitOfWork->commit() (vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php:403) at Doctrine\ORM\EntityManager->flush() (var/cache/dev/Container0oE6xQJ/EntityManager_9a5be93.php:136) at Container0oE6xQJ\EntityManager_9a5be93->flush() (src/Domain/Maturity/Controller/ReferentielController.php:147) at App\Domain\Maturity\Controller\ReferentielController->editAction() (vendor/symfony/http-kernel/HttpKernel.php:163) at Symfony\Component\HttpKernel\HttpKernel->handleRaw() (vendor/symfony/http-kernel/HttpKernel.php:75) at Symfony\Component\HttpKernel\HttpKernel->handle() (vendor/symfony/http-kernel/Kernel.php:202) at Symfony\Component\HttpKernel\Kernel->handle() (public/index.php:38)