mirror of
https://github.com/doctrine/orm.git
synced 2026-03-24 06:52:09 +01:00
Autoload error when following the Getting Started Guide #6074
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 @ThomasLandauer on GitHub (Sep 25, 2018).
Originally assigned to: @Majkl578 on GitHub.
Bug Report
When following the tutorial at https://www.doctrine-project.org/projects/doctrine-orm/en/current/tutorials/getting-started.html (i.e. doctrine2/docs/en/tutorials/getting-started.rst), at the step
vendor/bin/doctrine orm:schema-tool:createI'm getting this error:@Ocramius commented on GitHub (Sep 25, 2018):
Did you run the composer installation? What's your config file looking like?
@ThomasLandauer commented on GitHub (Sep 25, 2018):
I really followed the tutorial.
Sure :-)
Copied from https://www.doctrine-project.org/projects/doctrine-orm/en/current/tutorials/getting-started.html#project-setup
@Ocramius commented on GitHub (Sep 25, 2018):
Just tried it, and could reproduce the problem. The issue is that the
composer.jsonin that documentation should be pointing atdoctrine/orm^2.6.2: can you maybe send a patch?@ThomasLandauer commented on GitHub (Sep 25, 2018):
Sure, see https://github.com/doctrine/doctrine2/pull/7412
@Majkl578 commented on GitHub (Nov 11, 2018):
#7412 has been merged.