eltrino / diamantedesk-application

DiamanteDesk
http://diamantedesk.com/
Other
118 stars 42 forks source link

User Entity properties not found #99

Closed krasilich closed 4 years ago

krasilich commented 4 years ago

This issue appears from time to time but there are no clear STR. The most frequent case is when DB out of sync with code.

You get one of the following

Property Oro\Bundle\UserBundle\Entity\User::$avatar does not exist in diama nte.ticket.api.service_diamante (which is being imported from "/Users/krasi lich/projects/diamantedesk-application/src/Diamante/DeskBundle/Resources/co nfig/oro/routing.yml"). Make sure there is a loader supporting the "diamant e_rest_service" type.

The target-entity Extend\Entity\EV_Auth_Status cannot be found in 'Oro\Bund le\UserBundle\Entity\User#auth_status' in diamante.ticket.api.service_diama nte (which is being imported from "/Users/krasilich/projects/diamantedesk-a pplication/src/Diamante/DeskBundle/Resources/config/oro/routing.yml"). Make sure there is a loader supporting the "diamante_rest_service" type.

sylvainraye commented 4 years ago

I know this issue, it’s related to the PHP version you use if I remember well. Which one are you using?