Advertisement
josk696

Stack trace

Jul 25th, 2017
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.50 KB | None | 0 0
  1. Given object is not an instance of the class this property was declared in
  2. 500 Internal Server Error - ReflectionException
  3.  
  4. Stack Trace
  5. in vendor\doctrine\orm\lib\Doctrine\ORM\Mapping\ClassMetadataInfo.php at line 731 -
  6. }
  7. $id = $this->identifier[0];
  8. $value = $this->reflFields[$id]->getValue($entity);
  9. if (null === $value) {
  10. return array();
  11. at ReflectionProperty ->getValue (object(GenusScientist))
  12. in vendor\doctrine\orm\lib\Doctrine\ORM\Mapping\ClassMetadataInfo.php at line 731 +
  13. at ClassMetadataInfo ->getIdentifierValues (object(GenusScientist))
  14. in vendor\symfony\symfony\src\Symfony\Bridge\Doctrine\Form\ChoiceList\IdReader.php at line 125 +
  15. at IdReader ->getIdValue (object(GenusScientist))
  16. at call_user_func (array(object(IdReader), 'getIdValue'), object(GenusScientist))
  17. in vendor\symfony\symfony\src\Symfony\Component\Form\ChoiceList\ArrayChoiceList.php at line 158 +
  18. at ArrayChoiceList ->getValuesForChoices (array(object(GenusScientist), object(GenusScientist), object(GenusScientist), object(GenusScientist), object(GenusScientist), object(GenusScientist), object(GenusScientist)))
  19. in vendor\symfony\symfony\src\Symfony\Component\Form\ChoiceList\LazyChoiceList.php at line 198 +
  20. at LazyChoiceList ->getValuesForChoices (array(object(GenusScientist), object(GenusScientist), object(GenusScientist), object(GenusScientist), object(GenusScientist), object(GenusScientist), object(GenusScientist)))
  21. in vendor\symfony\symfony\src\Symfony\Component\Form\Extension\Core\DataTransformer\ChoicesToValuesTransformer.php at line 52 +
  22. at ChoicesToValuesTransformer ->transform (array(object(GenusScientist), object(GenusScientist), object(GenusScientist), object(GenusScientist), object(GenusScientist), object(GenusScientist), object(GenusScientist)))
  23. in vendor\symfony\symfony\src\Symfony\Component\Form\Form.php at line 1092 +
  24. at Form ->normToView (array(object(GenusScientist), object(GenusScientist), object(GenusScientist), object(GenusScientist), object(GenusScientist), object(GenusScientist), object(GenusScientist)))
  25. in vendor\symfony\symfony\src\Symfony\Component\Form\Form.php at line 352 +
  26. at Form ->setData (object(PersistentCollection))
  27. in vendor\symfony\symfony\src\Symfony\Component\Form\Extension\Core\DataMapper\PropertyPathMapper.php at line 57 +
  28. at PropertyPathMapper ->mapDataToForms (object(Genus), object(RecursiveIteratorIterator))
  29. in vendor\symfony\symfony\src\Symfony\Component\Form\Form.php at line 385 +
  30. at Form ->setData (object(Genus))
  31. in vendor\symfony\symfony\src\Symfony\Component\Form\Form.php at line 477 +
  32. at Form ->initialize ()
  33. in vendor\symfony\symfony\src\Symfony\Component\Form\FormBuilder.php at line 226 +
  34. at FormBuilder ->getForm ()
  35. in vendor\symfony\symfony\src\Symfony\Component\Form\FormFactory.php at line 39 +
  36. at FormFactory ->create ('AppBundle\Form\GenusFormType', object(Genus), array())
  37. in vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Controller\Controller.php at line 309 +
  38. at Controller ->createForm ('AppBundle\Form\GenusFormType', object(Genus))
  39. in src\AppBundle\Controller\Admin\GenusAdminController.php at line 66 +
  40. at GenusAdminController ->editAction (object(Request), object(Genus))
  41. at call_user_func_array (array(object(GenusAdminController), 'editAction'), array(object(Request), object(Genus)))
  42. in vendor\symfony\symfony\src\Symfony\Component\HttpKernel\HttpKernel.php at line 153 +
  43. at HttpKernel ->handleRaw (object(Request), '1')
  44. in vendor\symfony\symfony\src\Symfony\Component\HttpKernel\HttpKernel.php at line 68 +
  45. at HttpKernel ->handle (object(Request), '1', true)
  46. in vendor\symfony\symfony\src\Symfony\Component\HttpKernel\Kernel.php at line 169 +
  47. at Kernel ->handle (object(Request))
  48. in web\app_dev.php at line 30 +
  49. at require ('C:\Users\John\Documents\Siti\aqua_note\web\app_dev.php')
  50. in vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Resources\config\router_dev.php at line 40 +
  51. Logs - 1 error
  52. INFO - Matched route "{route}".
  53. DEBUG - Read existing security token from the session.
  54. 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 = ?
  55. DEBUG - User was reloaded from a user provider.
  56. DEBUG - Checking for guard authentication credentials.
  57. DEBUG - Calling getCredentials() on guard configurator.
  58. DEBUG - Notified event "{event}" to listener "{listener}".
  59. DEBUG - Notified event "{event}" to listener "{listener}".
  60. DEBUG - Notified event "{event}" to listener "{listener}".
  61. DEBUG - Notified event "{event}" to listener "{listener}".
  62. DEBUG - Notified event "{event}" to listener "{listener}".
  63. DEBUG - Notified event "{event}" to listener "{listener}".
  64. DEBUG - Notified event "{event}" to listener "{listener}".
  65. DEBUG - Notified event "{event}" to listener "{listener}".
  66. DEBUG - SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.species_count AS species_count_4, t0.fun_fact AS fun_fact_5, t0.is_published AS is_published_6, t0.first_discovered_at AS first_discovered_at_7, t0.sub_family_id AS sub_family_id_8 FROM genus t0 WHERE t0.id = ?
  67. DEBUG - Notified event "{event}" to listener "{listener}".
  68. DEBUG - Notified event "{event}" to listener "{listener}".
  69. DEBUG - Notified event "{event}" to listener "{listener}".
  70. DEBUG - Notified event "{event}" to listener "{listener}".
  71. DEBUG - Notified event "{event}" to listener "{listener}".
  72. DEBUG - Notified event "{event}" to listener "{listener}".
  73. DEBUG - Notified event "{event}" to listener "{listener}".
  74. 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 = ?
  75. DEBUG - SELECT t0.id AS id_1, t0.name AS name_2 FROM sub_family t0 WHERE t0.id = ?
  76. 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 = ?
  77. CRITICAL - Uncaught PHP Exception ReflectionException: "Given object is not an instance of the class this property was declared in" at C:\Users\John\Documents\Siti\aqua_note\vendor\doctrine\orm\lib\Doctrine\ORM\Mapping\ClassMetadataInfo.php line 731
  78. DEBUG - Notified event "{event}" to listener "{listener}".
  79. DEBUG - Notified event "{event}" to listener "{listener}".
  80. DEBUG - Notified event "{event}" to listener "{listener}".
  81. DEBUG - Notified event "{event}" to listener "{listener}".
  82. DEBUG - Notified event "{event}" to listener "{listener}".
  83. DEBUG - Notified event "{event}" to listener "{listener}".
  84. DEBUG - Notified event "{event}" to listener "{listener}".
  85. DEBUG - Notified event "{event}" to listener "{listener}".
  86. DEBUG - Notified event "{event}" to listener "{listener}".
  87. DEBUG - Notified event "{event}" to listener "{listener}".
  88. DEBUG - Notified event "{event}" to listener "{listener}".
  89. DEBUG - Notified event "{event}" to listener "{listener}".
  90. DEBUG - Notified event "{event}" to listener "{listener}".
  91. DEBUG - Notified event "{event}" to listener "{listener}".
  92.  
  93.  
  94.  
  95. Stack Trace (Plain Text) -
  96. [1] ReflectionException: Given object is not an instance of the class this property was declared in
  97. at n/a
  98. in C:\Users\John\Documents\Siti\aqua_note\vendor\doctrine\orm\lib\Doctrine\ORM\Mapping\ClassMetadataInfo.php line 731
  99.  
  100. at ReflectionProperty->getValue(object(GenusScientist))
  101. in C:\Users\John\Documents\Siti\aqua_note\vendor\doctrine\orm\lib\Doctrine\ORM\Mapping\ClassMetadataInfo.php line 731
  102.  
  103. at Doctrine\ORM\Mapping\ClassMetadataInfo->getIdentifierValues(object(GenusScientist))
  104. in C:\Users\John\Documents\Siti\aqua_note\vendor\symfony\symfony\src\Symfony\Bridge\Doctrine\Form\ChoiceList\IdReader.php line 125
  105.  
  106. at Symfony\Bridge\Doctrine\Form\ChoiceList\IdReader->getIdValue(object(GenusScientist))
  107. in line
  108.  
  109. at call_user_func(array(object(IdReader), 'getIdValue'), object(GenusScientist))
  110. in C:\Users\John\Documents\Siti\aqua_note\vendor\symfony\symfony\src\Symfony\Component\Form\ChoiceList\ArrayChoiceList.php line 158
  111.  
  112. at Symfony\Component\Form\ChoiceList\ArrayChoiceList->getValuesForChoices(array(object(GenusScientist), object(GenusScientist), object(GenusScientist), object(GenusScientist), object(GenusScientist), object(GenusScientist), object(GenusScientist)))
  113. in C:\Users\John\Documents\Siti\aqua_note\vendor\symfony\symfony\src\Symfony\Component\Form\ChoiceList\LazyChoiceList.php line 198
  114.  
  115. at Symfony\Component\Form\ChoiceList\LazyChoiceList->getValuesForChoices(array(object(GenusScientist), object(GenusScientist), object(GenusScientist), object(GenusScientist), object(GenusScientist), object(GenusScientist), object(GenusScientist)))
  116. in C:\Users\John\Documents\Siti\aqua_note\vendor\symfony\symfony\src\Symfony\Component\Form\Extension\Core\DataTransformer\ChoicesToValuesTransformer.php line 52
  117.  
  118. at Symfony\Component\Form\Extension\Core\DataTransformer\ChoicesToValuesTransformer->transform(array(object(GenusScientist), object(GenusScientist), object(GenusScientist), object(GenusScientist), object(GenusScientist), object(GenusScientist), object(GenusScientist)))
  119. in C:\Users\John\Documents\Siti\aqua_note\vendor\symfony\symfony\src\Symfony\Component\Form\Form.php line 1092
  120.  
  121. at Symfony\Component\Form\Form->normToView(array(object(GenusScientist), object(GenusScientist), object(GenusScientist), object(GenusScientist), object(GenusScientist), object(GenusScientist), object(GenusScientist)))
  122. in C:\Users\John\Documents\Siti\aqua_note\vendor\symfony\symfony\src\Symfony\Component\Form\Form.php line 352
  123.  
  124. at Symfony\Component\Form\Form->setData(object(PersistentCollection))
  125. in C:\Users\John\Documents\Siti\aqua_note\vendor\symfony\symfony\src\Symfony\Component\Form\Extension\Core\DataMapper\PropertyPathMapper.php line 57
  126.  
  127. at Symfony\Component\Form\Extension\Core\DataMapper\PropertyPathMapper->mapDataToForms(object(Genus), object(RecursiveIteratorIterator))
  128. in C:\Users\John\Documents\Siti\aqua_note\vendor\symfony\symfony\src\Symfony\Component\Form\Form.php line 385
  129.  
  130. at Symfony\Component\Form\Form->setData(object(Genus))
  131. in C:\Users\John\Documents\Siti\aqua_note\vendor\symfony\symfony\src\Symfony\Component\Form\Form.php line 477
  132.  
  133. at Symfony\Component\Form\Form->initialize()
  134. in C:\Users\John\Documents\Siti\aqua_note\vendor\symfony\symfony\src\Symfony\Component\Form\FormBuilder.php line 226
  135.  
  136. at Symfony\Component\Form\FormBuilder->getForm()
  137. in C:\Users\John\Documents\Siti\aqua_note\vendor\symfony\symfony\src\Symfony\Component\Form\FormFactory.php line 39
  138.  
  139. at Symfony\Component\Form\FormFactory->create('AppBundle\Form\GenusFormType', object(Genus), array())
  140. in C:\Users\John\Documents\Siti\aqua_note\vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Controller\Controller.php line 309
  141.  
  142. at Symfony\Bundle\FrameworkBundle\Controller\Controller->createForm('AppBundle\Form\GenusFormType', object(Genus))
  143. in C:\Users\John\Documents\Siti\aqua_note\src\AppBundle\Controller\Admin\GenusAdminController.php line 66
  144.  
  145. at AppBundle\Controller\Admin\GenusAdminController->editAction(object(Request), object(Genus))
  146. in line
  147.  
  148. at call_user_func_array(array(object(GenusAdminController), 'editAction'), array(object(Request), object(Genus)))
  149. in C:\Users\John\Documents\Siti\aqua_note\vendor\symfony\symfony\src\Symfony\Component\HttpKernel\HttpKernel.php line 153
  150.  
  151. at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '1')
  152. in C:\Users\John\Documents\Siti\aqua_note\vendor\symfony\symfony\src\Symfony\Component\HttpKernel\HttpKernel.php line 68
  153.  
  154. at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '1', true)
  155. in C:\Users\John\Documents\Siti\aqua_note\vendor\symfony\symfony\src\Symfony\Component\HttpKernel\Kernel.php line 169
  156.  
  157. at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
  158. in C:\Users\John\Documents\Siti\aqua_note\web\app_dev.php line 30
  159.  
  160. at require('C:\Users\John\Documents\Siti\aqua_note\web\app_dev.php')
  161. in C:\Users\John\Documents\Siti\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