This topic contains 16 replies, has 4 voices, and was last updated by oro_newbie 7 years, 7 months ago.
- Topic
Hi,
I’m getting the following error when opening the “My User” page. I wasn’t getting this previously but I recently updated the OroCRM so that might be causing the issue:
“Neither the property “avatar” nor one of the methods “getAvatar()”, “avatar()”, “isAvatar()”, “hasAvatar()”, “__get()” exist and have public access in class “Oro\Bundle\UserBundle\Entity\User”.”) in “OroUserBundle:User:view.html.twig” at line 41.”
Full error:
1[2016-08-21 06:26:42] request.CRITICAL: Uncaught PHP Exception Twig_Error_Runtime: "An exception has been thrown during the rendering of a template ("Neither the property "avatar" nor one of the methods "getAvatar()", "avatar()", "isAvatar()", "hasAvatar()", "__get()" exist and have public access in class "Oro\Bundle\UserBundle\Entity\User".") in "OroUserBundle:User:view.html.twig" at line 41." at /var/www/crm2/app/cache/prod/classes.php line 5510 {"exception":"[object] (Twig_Error_Runtime: An exception has been thrown during the rendering of a template (\"Neither the property \"avatar\" nor one of the methods \"getAvatar()\", \"avatar()\", \"isAvatar()\", \"hasAvatar()\", \"__get()\" exist and have public access in class \"Oro\\Bundle\\UserBundle\\Entity\\User\".\") in \"OroUserBundle:User:view.html.twig\" at line 41. at /var/www/crm2/app/cache/prod/classes.php:5510, Symfony\\Component\\PropertyAccess\\Exception\\NoSuchPropertyException: Neither the property \"avatar\" nor one of the methods \"getAvatar()\", \"avatar()\", \"isAvatar()\", \"hasAvatar()\", \"__get()\" exist and have public access in class \"Oro\\Bundle\\UserBundle\\Entity\\User\". at /var/www/crm2/vendor/symfony/symfony/src/Symfony/Component/PropertyAccess/PropertyAccessor.php:371)"} []P.S.: I’m not overriding anything from the UserBundle.
Thank you.
The forum ‘OroCRM – Installation/Technical Issues or Problems’ is closed to new topics and replies.