Re: [symfony-users] Doctrine.ORM Proxy
Sounds like you havent generated your Proxy objects based on the Entities. t On Thu, Aug 12, 2010 at 08:55, Michael wrote: > Been trying to create a simple findAll() request: > > $users = $this->getEntityManager() > ->createQuery('Bundle\HelloBundle\Entity\User') > ->findAll(); > > but keep getting the following error: > > Fatal error: Class 'Proxies\BundleHelloBundleEntityProfileProxy' not > found in ../src/vendor/doctrine/lib/Doctrine/ORM/Proxy/ > ProxyFactory.php on line 92 > > any ideas? > > Note: the User entity has a OneToOne join with the Profile entiry > > -- > If you want to report a vulnerability issue on symfony, please send it to > security at symfony-project.com > > You received this message because you are subscribed to the Google > Groups "symfony users" group. > To post to this group, send email to symfony-users@googlegroups.com > To unsubscribe from this group, send email to > symfony-users+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/symfony-users?hl=en > -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] Doctrine.ORM Proxy
Been trying to create a simple findAll() request: $users = $this->getEntityManager() ->createQuery('Bundle\HelloBundle\Entity\User') ->findAll(); but keep getting the following error: Fatal error: Class 'Proxies\BundleHelloBundleEntityProfileProxy' not found in ../src/vendor/doctrine/lib/Doctrine/ORM/Proxy/ ProxyFactory.php on line 92 any ideas? Note: the User entity has a OneToOne join with the Profile entiry -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
[symfony-users] Doctrine.ORM Proxy
Trying to run this script: $products = $this->getEntityManager() ->getRepository('Bundle\HelloBundle\Entity \Product') ->findAll(); But keep getting this error: Fatal error: Class 'Proxies\BundleHelloBundleEntityCategoryProxy' not found in ../src/vendor/doctrine/lib/Doctrine/ORM/Proxy/ ProxyFactory.php on line 92 In the Product entity, I defined the category: /** * @var Category * @OneToOne(targetEntity="Category") * @JoinColumn(name="category_id", referencedColumnName="id") */ private $category; Any idea why this is happening? -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en