ZF-Commons/ZfcUserDoctrineORM — Issue #2: Cannot redeclare class ZfcuseUserDoctrineORM\Entity\User 
Author: hoseinian
Created: 2012-02-29 06:43:45+00:00
State: open

when try to get resutls form a entity that have relation with zfcuser entity like

@ORM\ManyToOne(targetEntity="ZfcUserDoctrineORM\Entity\User")
@ORM\JoinColumn(name="user_id" , referencedColumnName="user_id")

if user in not login and session is not set it returns this error
Fatal error: Cannot redeclare class ZfcuseUserDoctrineORM\Entity\User in C:\wamp\www\hesabketab\container-root\vendor\ZfcUserDoctrineORM\src\ZfcUserDoctrineORM\Entity\User.php on line 6

but when u land on same page with logged in browser there is no problem