Hey Guys,
I am using zf2 and doctrine2 . Persist , remove and update is working
file . While l am trying to retrieve the data using findBy(array('column'
=> $value)) doesnot works .
I got something like this
An error occurredAn error occurred during execution; please try again later.
------------------------------
Additional information:Doctrine\ORM\ORMExceptionFile:
/var/www/zf2-reporting/vendor/doctrine/orm/lib/Doctrine/ORM/ORMException.php:100
Message:
Unrecognized field: claim_status
Stack trace:
#0
/var/www/zf2-reporting/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/BasicEntityPersister.php(1681):
Doctrine\ORM\ORMException::unrecognizedField('claim_status')
#1
/var/www/zf2-reporting/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/BasicEntityPersister.php(1610):
Doctrine\ORM\Persisters\BasicEntityPersister->getSelectConditionStatementColumnSQL('claim_status',
NULL)
#2
/var/www/zf2-reporting/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/BasicEntityPersister.php(1701):
Doctrine\ORM\Persisters\BasicEntityPersister->getSelectConditionStatementSQL('claim_status',
'1', NULL)
#3
/var/www/zf2-reporting/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/BasicEntityPersister.php(1115):
Doctrine\ORM\Persisters\BasicEntityPersister->getSelectConditionSQL(Array,
NULL)
#4
/var/www/zf2-reporting/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/BasicEntityPersister.php(928):
Doctrine\ORM\Persisters\BasicEntityPersister->getSelectSQL(Array, NULL, 0,
NULL, NULL, NULL)
#5
/var/www/zf2-reporting/vendor/doctrine/orm/lib/Doctrine/ORM/EntityRepository.php(181):
Doctrine\ORM\Persisters\BasicEntityPersister->loadAll(Array, NULL, NULL, NULL)
#6
/var/www/zf2-reporting/module/Notes/src/Notes/Controller/NotesController.php(41):
Doctrine\ORM\EntityRepository->findBy(Array)
#7
/var/www/zf2-reporting/vendor/zendframework/zendframework/library/Zend/Mvc/Controller/AbstractActionController.php(83):
Notes\Controller\NotesController->indexAction()
#8 [internal function]:
Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent))
#9
/var/www/zf2-reporting/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(468):
call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#10
/var/www/zf2-reporting/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(207):
Zend\EventManager\EventManager->triggerListeners('dispatch',
Object(Zend\Mvc\MvcEvent), Object(Closure))
#11
/var/www/zf2-reporting/vendor/zendframework/zendframework/library/Zend/Mvc/Controller/AbstractController.php(117):
Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent),
Object(Closure))
#12
/var/www/zf2-reporting/vendor/zendframework/zendframework/library/Zend/Mvc/DispatchListener.php(114):
Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request),
Object(Zend\Http\PhpEnvironment\Response))
#13 [internal function]:
Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
#14
/var/www/zf2-reporting/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(468):
call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#15
/var/www/zf2-reporting/vendor/zendframework/zendframework/library/Zend/EventManager/EventManager.php(207):
Zend\EventManager\EventManager->triggerListeners('dispatch',
Object(Zend\Mvc\MvcEvent), Object(Closure))
#16
/var/www/zf2-reporting/vendor/zendframework/zendframework/library/Zend/Mvc/Application.php(316):
Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent),
Object(Closure))
#17 /var/www/zf2-reporting/public/index.php(28): Zend\Mvc\Application->run()
#18 {main}
Could any one help me what's going on.
Arjun
--
You received this message because you are subscribed to the Google Groups
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.