Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-2486

Getting started does not work with current release

    Details

    • Type: Documentation Documentation
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.4, 2.4.1
    • Fix Version/s: 2.4
    • Component/s: ORM
    • Security Level: All
    • Labels:
    • Environment:
      Ubuntu 12.04

      Description

      The tutorial states: "This tutorial assumes you work with Doctrine 2.3 and above. Some of the code will not work with lower versions."

      I'm using 2.3.4

      When running "php vendor/bin/doctrine orm:schema-tool:create"

      this happens:

      PHP Fatal error: Call to undefined method Doctrine\ORM\Tools\Console\ConsoleRunner::createHelperSet() in /var/www/project/cli-config.php on line 5
      PHP Stack trace:
      PHP 1.

      {main}() /var/www/project/vendor/doctrine/orm/bin/doctrine:0
      PHP 2. include() /var/www/project/vendor/doctrine/orm/bin/doctrine:4
      PHP 3. require() /var/www/project/vendor/doctrine/orm/bin/doctrine.php:31

      Fatal error: Call to undefined method Doctrine\ORM\Tools\Console\ConsoleRunner::createHelperSet() in /var/www/project/cli-config.php on line 5

      Call Stack:
      0.0001 619840 1. {main}

      () /var/www/project/vendor/doctrine/orm/bin/doctrine:0
      0.0003 632072 2. include('/var/www/project/vendor/doctrine/orm/bin/doctrine.php') /var/www/project/vendor/doctrine/orm/bin/doctrine:4
      0.0012 730208 3. require('/var/www/project/cli-config.php') /var/www/project/vendor/doctrine/orm/bin/doctrine.php:31

      This is because some commits are not yet in the release. The current GIT version probably works but is not an option for me.

        Activity

        Julian Picht created issue -
        Benjamin Eberlei made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.4 [ 10321 ]
        Resolution Fixed [ 1 ]
        Igor Timoshenkov made changes -
        Affects Version/s 2.4.1 [ 10528 ]
        Environment Ubuntu 12.04
        Priority Major [ 3 ] Minor [ 4 ]
        Labels Cli

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Julian Picht
          • Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: