Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to find GeograhicalQuery annotation #31

Open
nephilimdie opened this issue Apr 12, 2013 · 1 comment
Open

Unable to find GeograhicalQuery annotation #31

nephilimdie opened this issue Apr 12, 2013 · 1 comment

Comments

@nephilimdie
Copy link

Hi, i have this error and in other issue was resolved, but not for me!

Stack Trace

    in /home/iraqexcavations/iraq_bootstrap/vendor/vich/geographical-bundle/Vich/GeographicalBundle/EventListener/GeographicalListener.php at line 110  -+
                }

                if (null === $geoQuery) {
                    throw new \InvalidArgumentException('Unable to find GeograhicalQuery annotation.');
                }

                $queryMethod = $geoQuery->getMethod();
    at GeographicalListener ->updateObject (object(City), object(Geographical), null)
    in /home/iraqexcavations/iraq_bootstrap/vendor/vich/geographical-bundle/Vich/GeographicalBundle/EventListener/GeographicalListener.php at line 73  -+
    at GeographicalListener ->prePersist (object(LifecycleEventArgs))
    in /home/iraqexcavations/iraq_bootstrap/vendor/symfony/symfony/src/Symfony/Bridge/Doctrine/ContainerAwareEventManager.php at line 61  -+
    at ContainerAwareEventManager ->dispatchEvent ('prePersist', object(LifecycleEventArgs))
    in /home/iraqexcavations/iraq_bootstrap/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php at line 808  -+
    at UnitOfWork ->persistNew (object(ClassMetadata), object(City))
    in /home/iraqexcavations/iraq_bootstrap/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php at line 1588  -+
    at UnitOfWork ->doPersist (object(City), array('000000007ac0bf8f00000000205d1d73' => object(City)))
    in /home/iraqexcavations/iraq_bootstrap/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php at line 1546  -+
    at UnitOfWork ->persist (object(City))
    in /home/iraqexcavations/iraq_bootstrap/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php at line 565  

thanks in advance
and great job yours 👍
stefano

@nephilimdie
Copy link
Author

up! :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant