You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Downloading sylius-standard template and trying to run it via docker-compose attached in the repository leads to the error. No additional configuration steps were taken. The PHP container is the one that fails quay.io/sylius/php:latest
How to replicate the error
What I had executed:
composer create-project sylius/sylius-standard MyFirstShop
cd MyFirstShop
docker compose up -d
The Error
[error] Migration Sylius\Bundle\CoreBundle\Migrations\Version20201130071338 failed during Execution.
Error: "Unknown column type "json_array" requested. Any Doctrine type that you use has to be registered with\Doctrine\DBAL\Types\Type::addType(). You can get a list of all the known types with\Doctrine\DBAL\Types\Type::getTypesMap(). If this error occurs during database introspection then you might haveforgotten to register all database types for a Doctrine Type. Use AbstractPlatform#registerDoctrineTypeMapping() or haveyour custom types implement Type#getMappedDatabaseTypes(). If the type name is empty you might have a problem withthe cache or forgot some mapping information."
In Exception.php line 120:
Unknown column type"json_array" requested. Any Doctrine type that you use
has to be registered with \Doctrine\DBAL\Types\Type::addType(). You can get
a list of all the known types with \Doctrine\DBAL\Types\Type::getTypesMap(
). If this error occurs during database introspection then you might have f
orgotten to register all database types for a Doctrine Type. Use AbstractPl
atform#registerDoctrineTypeMapping() or have your custom types implement Ty
pe#getMappedDatabaseTypes(). If the type name is empty you might have a pro
blem with the cache or forgot some mapping information.
Platform
MacOS Big Sur 11.6
Docker version 20.10.11, build dea9396
Docker Compose version v2.2.1
The text was updated successfully, but these errors were encountered:
Introduction
Downloading sylius-standard template and trying to run it via docker-compose attached in the repository leads to the error. No additional configuration steps were taken. The PHP container is the one that fails
quay.io/sylius/php:latest
How to replicate the error
What I had executed:
The Error
Platform
The text was updated successfully, but these errors were encountered: