mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
DDC-1703: Call to undefined method Doctrine\DBAL\Platforms\SqlitePlatform::canEmulateSchemas #2143
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Mar 14, 2012).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user jonathaningram:
This stack trace occurred when running "php ./doctrine.php orm:validate-schema" in the "tools/sandbox" directory. A search for that method reveals that it does not exist.
PHP Fatal error: Call to undefined method Doctrine\DBAL\Platforms\SqlitePlatform::canEmulateSchemas() in /Users/me/doctrine2/lib/Doctrine/ORM/Tools/SchemaTool.php on line 263
PHP Stack trace:
PHP 1. {main}() /Users/me/doctrine2/tools/sandbox/doctrine.php:0
PHP 2. Symfony\Component\Console\Application->run() /Users/me/doctrine2/tools/sandbox/doctrine.php:49
PHP 3. Symfony\Component\Console\Application->doRun() /Users/me/doctrine2/lib/vendor/Symfony/Component/Console/Application.php:118
PHP 4. Symfony\Component\Console\Command\Command->run() /Users/me/doctrine2/lib/vendor/Symfony/Component/Console/Application.php:194
PHP 5. Doctrine\ORM\Tools\Console\Command\ValidateSchemaCommand->execute() /Users/me/doctrine2/lib/vendor/Symfony/Component/Console/Command/Command.php:187
PHP 6. Doctrine\ORM\Tools\SchemaValidator->schemaInSyncWithMetadata() /Users/me/doctrine2/lib/Doctrine/ORM/Tools/Console/Command/ValidateSchemaCommand.php:80
PHP 7. Doctrine\ORM\Tools\SchemaTool->getUpdateSchemaSql() /Users/me/doctrine2/lib/Doctrine/ORM/Tools/SchemaValidator.php:285
PHP 8. Doctrine\ORM\Tools\SchemaTool->getSchemaFromMetadata() /Users/me/doctrine2/lib/Doctrine/ORM/Tools/SchemaTool.php:701
@doctrinebot commented on GitHub (Mar 14, 2012):
Comment created by @beberlei:
Wrong versions of DBAL and ORM used together.
@doctrinebot commented on GitHub (Mar 14, 2012):
Issue was closed with resolution "Invalid"