Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Cannot access private property AppBundle\Entity\GenusScientist::$id
- 500 Internal Server Error - FatalThrowableError
- Stack Trace
- 1. in vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php at line 731
- }
- $id = $this->identifier[0];
- $value = $this->reflFields[$id]->getValue($entity);
- if (null === $value) {
- return array();
- 2. at ReflectionProperty ->getValue (object(GenusScientist))
- in vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php at line 731
- 3. at ClassMetadataInfo ->getIdentifierValues (object(GenusScientist))
- in vendor/symfony/symfony/src/Symfony/Bridge/Doctrine/Form/ChoiceList/IdReader.php at line 125
- 4. at IdReader ->getIdValue (object(GenusScientist))
- 5. at call_user_func (array(object(IdReader), 'getIdValue'), object(GenusScientist))
- in vendor/symfony/symfony/src/Symfony/Component/Form/ChoiceList/ArrayChoiceList.php at line 158
- 6. at ArrayChoiceList ->getValuesForChoices (array(object(GenusScientist), object(GenusScientist), object(GenusScientist)))
- in vendor/symfony/symfony/src/Symfony/Component/Form/ChoiceList/LazyChoiceList.php at line 198 +
- 7. at LazyChoiceList ->getValuesForChoices (array(object(GenusScientist), object(GenusScientist), object(GenusScientist)))
- in vendor/symfony/symfony/src/Symfony/Component/Form/Extension/Core/DataTransformer/ChoicesToValuesTransformer.php at line 52 +
- 8. at ChoicesToValuesTransformer ->transform (array(object(GenusScientist), object(GenusScientist), object(GenusScientist)))
- in vendor/symfony/symfony/src/Symfony/Component/Form/Form.php at line 1092 +
- 9. at Form ->normToView (array(object(GenusScientist), object(GenusScientist), object(GenusScientist)))
- in vendor/symfony/symfony/src/Symfony/Component/Form/Form.php at line 352 +
- 10. at Form ->setData (object(PersistentCollection))
- in vendor/symfony/symfony/src/Symfony/Component/Form/Extension/Core/DataMapper/PropertyPathMapper.php at line 57 +
- 11. at PropertyPathMapper ->mapDataToForms (object(Genus), object(RecursiveIteratorIterator))
- in vendor/symfony/symfony/src/Symfony/Component/Form/Form.php at line 385 +
- 12. at Form ->setData (object(Genus))
- in vendor/symfony/symfony/src/Symfony/Component/Form/Form.php at line 477 +
- 13. at Form ->initialize ()
- in vendor/symfony/symfony/src/Symfony/Component/Form/FormBuilder.php at line 226 +
- 14. at FormBuilder ->getForm ()
- in vendor/symfony/symfony/src/Symfony/Component/Form/FormFactory.php at line 39 +
- 15. at FormFactory ->create ('AppBundle\Form\GenusFormType', object(Genus), array())
- in vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php at line 309 +
- 16. at Controller ->createForm ('AppBundle\Form\GenusFormType', object(Genus))
- in src/AppBundle/Controller/Admin/GenusAdminController.php at line 66 +
- 17. at GenusAdminController ->editAction (object(Request), object(Genus))
- 18. at call_user_func_array (array(object(GenusAdminController), 'editAction'), array(object(Request), object(Genus)))
- in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 153 +
- 19. at HttpKernel ->handleRaw (object(Request), '1')
- in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php at line 68 +
- 20. at HttpKernel ->handle (object(Request), '1', true)
- in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php at line 169 +
- 21. at Kernel ->handle (object(Request))
- in web/app_dev.php at line 30 +
- 22. at require ('/home/argystam/projects_linux/aqua_note/web/app_dev.php')
- in vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Resources/config/router_dev.php at line 40 +
- Logs -
- 1 error
- INFO - Matched route "{route}".
- DEBUG - Read existing security token from the session.
- DEBUG - SELECT t0.id AS id_1, t0.email AS email_2, t0.password AS password_3, t0.roles AS roles_4, t0.is_scientist AS is_scientist_5, t0.first_name AS first_name_6, t0.last_name AS last_name_7, t0.avatar_uri AS avatar_uri_8, t0.university_name AS university_name_9 FROM user t0 WHERE t0.id = ?
- DEBUG - User was reloaded from a user provider.
- DEBUG - Checking for guard authentication credentials.
- DEBUG - Calling getCredentials() on guard configurator.
- DEBUG - Notified event "{event}" to listener "{listener}".
- DEBUG - Notified event "{event}" to listener "{listener}".
- DEBUG - Notified event "{event}" to listener "{listener}".
- DEBUG - Notified event "{event}" to listener "{listener}".
- DEBUG - Notified event "{event}" to listener "{listener}".
- DEBUG - Notified event "{event}" to listener "{listener}".
- DEBUG - Notified event "{event}" to listener "{listener}".
- DEBUG - Notified event "{event}" to listener "{listener}".
- DEBUG - SELECT t0.id AS id_1, t0.name AS name_2, t0.species_count AS species_count_3, t0.fun_fact AS fun_fact_4, t0.is_published AS is_published_5, t0.first_discovered_at AS first_discovered_at_6, t0.slug AS slug_7, t0.sub_family_id AS sub_family_id_8 FROM genus t0 WHERE t0.id = ?
- DEBUG - Notified event "{event}" to listener "{listener}".
- DEBUG - Notified event "{event}" to listener "{listener}".
- DEBUG - Notified event "{event}" to listener "{listener}".
- DEBUG - Notified event "{event}" to listener "{listener}".
- DEBUG - Notified event "{event}" to listener "{listener}".
- DEBUG - Notified event "{event}" to listener "{listener}".
- DEBUG - Notified event "{event}" to listener "{listener}".
- DEBUG - SELECT u0_.id AS id_0, u0_.email AS email_1, u0_.password AS password_2, u0_.roles AS roles_3, u0_.is_scientist AS is_scientist_4, u0_.first_name AS first_name_5, u0_.last_name AS last_name_6, u0_.avatar_uri AS avatar_uri_7, u0_.university_name AS university_name_8 FROM user u0_ WHERE u0_.is_scientist = ?
- DEBUG - SELECT t0.id AS id_1, t0.name AS name_2 FROM sub_family t0 WHERE t0.id = ?
- DEBUG - SELECT t0.id AS id_1, t0.years_studied AS years_studied_2, t0.genus_id AS genus_id_3, t0.user_id AS user_id_4 FROM genus_scientist t0 WHERE t0.genus_id = ?
- CRITICAL - Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalThrowableError: "Cannot access private property AppBundle\Entity\GenusScientist::$id" at /home/argystam/projects_linux/aqua_note/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php line 731
- DEBUG - Notified event "{event}" to listener "{listener}".
- DEBUG - Notified event "{event}" to listener "{listener}".
- DEBUG - Notified event "{event}" to listener "{listener}".
- DEBUG - Notified event "{event}" to listener "{listener}".
- DEBUG - Notified event "{event}" to listener "{listener}".
- DEBUG - Notified event "{event}" to listener "{listener}".
- DEBUG - Notified event "{event}" to listener "{listener}".
- DEBUG - Notified event "{event}" to listener "{listener}".
- DEBUG - Notified event "{event}" to listener "{listener}".
- DEBUG - Notified event "{event}" to listener "{listener}".
- DEBUG - Notified event "{event}" to listener "{listener}".
- DEBUG - Notified event "{event}" to listener "{listener}".
- DEBUG - Notified event "{event}" to listener "{listener}".
- DEBUG - Notified event "{event}" to listener "{listener}".
- DEBUG - Notified event "{event}" to listener "{listener}".
- Stack Trace (Plain Text) -
- [1] Symfony\Component\Debug\Exception\FatalThrowableError: Cannot access private property AppBundle\Entity\GenusScientist::$id
- at n/a
- in /home/argystam/projects_linux/aqua_note/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php line 731
- at ReflectionProperty->getValue(object(GenusScientist))
- in /home/argystam/projects_linux/aqua_note/vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php line 731
- at Doctrine\ORM\Mapping\ClassMetadataInfo->getIdentifierValues(object(GenusScientist))
- in /home/argystam/projects_linux/aqua_note/vendor/symfony/symfony/src/Symfony/Bridge/Doctrine/Form/ChoiceList/IdReader.php line 125
- at Symfony\Bridge\Doctrine\Form\ChoiceList\IdReader->getIdValue(object(GenusScientist))
- in line
- at call_user_func(array(object(IdReader), 'getIdValue'), object(GenusScientist))
- in /home/argystam/projects_linux/aqua_note/vendor/symfony/symfony/src/Symfony/Component/Form/ChoiceList/ArrayChoiceList.php line 158
- at Symfony\Component\Form\ChoiceList\ArrayChoiceList->getValuesForChoices(array(object(GenusScientist), object(GenusScientist), object(GenusScientist)))
- in /home/argystam/projects_linux/aqua_note/vendor/symfony/symfony/src/Symfony/Component/Form/ChoiceList/LazyChoiceList.php line 198
- at Symfony\Component\Form\ChoiceList\LazyChoiceList->getValuesForChoices(array(object(GenusScientist), object(GenusScientist), object(GenusScientist)))
- in /home/argystam/projects_linux/aqua_note/vendor/symfony/symfony/src/Symfony/Component/Form/Extension/Core/DataTransformer/ChoicesToValuesTransformer.php line 52
- at Symfony\Component\Form\Extension\Core\DataTransformer\ChoicesToValuesTransformer->transform(array(object(GenusScientist), object(GenusScientist), object(GenusScientist)))
- in /home/argystam/projects_linux/aqua_note/vendor/symfony/symfony/src/Symfony/Component/Form/Form.php line 1092
- at Symfony\Component\Form\Form->normToView(array(object(GenusScientist), object(GenusScientist), object(GenusScientist)))
- in /home/argystam/projects_linux/aqua_note/vendor/symfony/symfony/src/Symfony/Component/Form/Form.php line 352
- at Symfony\Component\Form\Form->setData(object(PersistentCollection))
- in /home/argystam/projects_linux/aqua_note/vendor/symfony/symfony/src/Symfony/Component/Form/Extension/Core/DataMapper/PropertyPathMapper.php line 57
- at Symfony\Component\Form\Extension\Core\DataMapper\PropertyPathMapper->mapDataToForms(object(Genus), object(RecursiveIteratorIterator))
- in /home/argystam/projects_linux/aqua_note/vendor/symfony/symfony/src/Symfony/Component/Form/Form.php line 385
- at Symfony\Component\Form\Form->setData(object(Genus))
- in /home/argystam/projects_linux/aqua_note/vendor/symfony/symfony/src/Symfony/Component/Form/Form.php line 477
- at Symfony\Component\Form\Form->initialize()
- in /home/argystam/projects_linux/aqua_note/vendor/symfony/symfony/src/Symfony/Component/Form/FormBuilder.php line 226
- at Symfony\Component\Form\FormBuilder->getForm()
- in /home/argystam/projects_linux/aqua_note/vendor/symfony/symfony/src/Symfony/Component/Form/FormFactory.php line 39
- at Symfony\Component\Form\FormFactory->create('AppBundle\Form\GenusFormType', object(Genus), array())
- in /home/argystam/projects_linux/aqua_note/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php line 309
- at Symfony\Bundle\FrameworkBundle\Controller\Controller->createForm('AppBundle\Form\GenusFormType', object(Genus))
- in /home/argystam/projects_linux/aqua_note/src/AppBundle/Controller/Admin/GenusAdminController.php line 66
- at AppBundle\Controller\Admin\GenusAdminController->editAction(object(Request), object(Genus))
- in line
- at call_user_func_array(array(object(GenusAdminController), 'editAction'), array(object(Request), object(Genus)))
- in /home/argystam/projects_linux/aqua_note/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 153
- at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '1')
- in /home/argystam/projects_linux/aqua_note/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php line 68
- at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '1', true)
- in /home/argystam/projects_linux/aqua_note/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php line 169
- at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
- in /home/argystam/projects_linux/aqua_note/web/app_dev.php line 30
- at require('/home/argystam/projects_linux/aqua_note/web/app_dev.php')
- in /home/argystam/projects_linux/aqua_note/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Resources/config/router_dev.php line 40
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement