DDC-1703: Call to undefined method Doctrine\DBAL\Platforms\SqlitePlatform::canEmulateSchemas #2143

Closed
opened 2026-01-22 13:42:37 +01:00 by admin · 2 comments
Owner

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

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
admin added the Bug label 2026-01-22 13:42:37 +01:00
admin closed this issue 2026-01-22 13:42:37 +01:00
Author
Owner

@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): Comment created by @beberlei: Wrong versions of DBAL and ORM used together.
Author
Owner

@doctrinebot commented on GitHub (Mar 14, 2012):

Issue was closed with resolution "Invalid"

@doctrinebot commented on GitHub (Mar 14, 2012): Issue was closed with resolution "Invalid"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#2143