Doctrine 2 - ORM
  1. Doctrine 2 - ORM
  2. DDC-2735

Can't save user entity with association of type __PHP_Incomplete_Class

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: Git Master
    • Fix Version/s: None
    • Component/s: ORM
    • Security Level: All
    • Labels:

      Description

      This was working until I did some updating in composer. I'm not entirely sure which package changed to cause this, but when I save my user entity now, I get this error:

      Fatal error: Uncaught exception 'Doctrine\ORM\ORMException' with message
      'Found entity of type __PHP_Incomplete_Class on association Mrss\Entity\User#college,
      but expecting Mrss\Entity\College' in
      [...]/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php on line 783

      This seems to be related to this issue here: http://www.doctrine-project.org/jira/browse/DDC-1698

      But I'm not sure how to fix it.

        Activity

        Danny Ferguson created issue -
        Danny Ferguson made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Benjamin Eberlei
            Reporter:
            Danny Ferguson
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: