Exception detected!

Unable to find Product entity.

404 Not Found - NotFoundHttpException

Stack Trace

  1. in vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php at line 251  -
    1.      */
    2.     public function createNotFoundException($message 'Not Found', \Exception $previous null)
    3.     {
    4.         return new NotFoundHttpException($message$previous);
    5.     }
    6.     /**
  2. at Controller ->createNotFoundException ('Unable to find Product entity.')
    in src/Os/LocjaBundle/Controller/ProductController.php at line 877  +
  3. at ProductController ->showAction ('cegla-ceramiczna-pelna-kat-ii-kl-15', 'ElMur-980', 'ceramika')
    in app/bootstrap.php.cache at line 3276  +
  4. at HttpKernel ->handleRaw (object(Request), '1')
    in app/bootstrap.php.cache at line 3235  +
  5. at HttpKernel ->handle (object(Request), '1', true)
    in app/bootstrap.php.cache at line 3389  +
  6. at ContainerAwareHttpKernel ->handle (object(Request), '1', true)
    in app/bootstrap.php.cache at line 2594  +
  7. at Kernel ->handle (object(Request))
    in web/app.php at line 29  +

Logs  -

1 error
  1. INFO - Matched route "product_show".
  2. INFO - The Sonata\CoreBundle\Model\PageableManagerInterface class is deprecated since version 3.12.0 and will be removed in 4.0. Use Sonata\DatagridBundle\Pager\PageableInterface instead.
  3. INFO - The Sonata\Doctrine\Model\PageableManagerInterface class is deprecated since 1.3 in favor of Sonata\DatagridBundle\Pager\PageableInterface, and will be removed in 2.0.
  4. INFO - The Sonata\CoreBundle\Model\ManagerInterface class is deprecated since version 3.12.0 and will be removed in 4.0. Use Sonata\Doctrine\Model\ManagerInterface instead.
  5. INFO - The Doctrine\Common\Persistence\Mapping\Driver\FileDriver class is deprecated since doctrine/persistence 1.3 and will be removed in 2.0. Use \Doctrine\Persistence\Mapping\Driver\FileDriver instead.
  6. INFO - The Doctrine\Common\Persistence\Mapping\Driver\SymfonyFileLocator class is deprecated since doctrine/persistence 1.3 and will be removed in 2.0. Use \Doctrine\Persistence\Mapping\Driver\SymfonyFileLocator instead.
  7. INFO - The Doctrine\Common\Persistence\Mapping\Driver\MappingDriverChain class is deprecated since doctrine/persistence 1.3 and will be removed in 2.0. Use \Doctrine\Persistence\Mapping\Driver\MappingDriverChain instead.
  8. INFO - The Doctrine\Common\Persistence\ObjectRepository class is deprecated since doctrine/persistence 1.3 and will be removed in 2.0. Use \Doctrine\Persistence\ObjectRepository instead.
  9. INFO - The Sonata\Doctrine\Types\JsonType class is deprecated since 1.2 in favor of Doctrine\DBAL\Types\JsonType, and will be removed in 2.0.
  10. INFO - The Doctrine\Common\Persistence\Mapping\AbstractClassMetadataFactory class is deprecated since doctrine/persistence 1.3 and will be removed in 2.0. Use \Doctrine\Persistence\Mapping\AbstractClassMetadataFactory instead.
  11. INFO - The Doctrine\Common\PropertyChangedListener class is deprecated since doctrine/persistence 1.3 and will be removed in 2.0. Use \Doctrine\Persistence\PropertyChangedListener instead.
  12. INFO - The Doctrine\Common\Persistence\Event\LoadClassMetadataEventArgs class is deprecated since doctrine/persistence 1.3 and will be removed in 2.0. Use \Doctrine\Persistence\Event\LoadClassMetadataEventArgs instead.
  13. INFO - Populated the TokenStorage with an anonymous Token.
  14. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
  15. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelRequest".
  16. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
  17. DEBUG - Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\SessionListener::onKernelRequest".
  18. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\FragmentListener::onKernelRequest".
  19. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
  20. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
  21. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\TranslatorListener::onKernelRequest".
  22. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\Security\Http\Firewall::onKernelRequest".
  23. DEBUG - Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
  24. DEBUG - Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
  25. DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController".
  26. DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController".
  27. DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelController".
  28. DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::onKernelController".
  29. DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController".
  30. INFO - The ability to pass file names to the Symfony\Component\Yaml\Yaml::parse method is deprecated since Symfony 2.2 and will be removed in 3.0. Pass the YAML contents of the file instead.
  31. INFO - The ability to pass file names to the Symfony\Component\Yaml\Yaml::parse method is deprecated since Symfony 2.2 and will be removed in 3.0. Pass the YAML contents of the file instead.
  32. INFO - The ability to pass file names to the Symfony\Component\Yaml\Yaml::parse method is deprecated since Symfony 2.2 and will be removed in 3.0. Pass the YAML contents of the file instead.
  33. INFO - The ability to pass file names to the Symfony\Component\Yaml\Yaml::parse method is deprecated since Symfony 2.2 and will be removed in 3.0. Pass the YAML contents of the file instead.
  34. INFO - The ability to pass file names to the Symfony\Component\Yaml\Yaml::parse method is deprecated since Symfony 2.2 and will be removed in 3.0. Pass the YAML contents of the file instead.
  35. INFO - The ability to pass file names to the Symfony\Component\Yaml\Yaml::parse method is deprecated since Symfony 2.2 and will be removed in 3.0. Pass the YAML contents of the file instead.
  36. DEBUG - SELECT t0.sku AS sku1, t0.firma AS firma2, t0.name AS name3, t0.name_slug AS name_slug4, t0.kod_typu_wyrobu AS kod_typu_wyrobu5, t0.nr_serii AS nr_serii6, t0.nr_deklaracji AS nr_deklaracji7, t0.data_na_deklaracji AS data_na_deklaracji8, t0.title_seo AS title_seo9, t0.description_seo AS description_seo10, t0.grupa_produktowa_id AS grupa_produktowa_id11, t0.norma_id AS norma_id12, t0.producent_id AS producent_id13, t0.przedstawiciel_id AS przedstawiciel_id14, t0.zaklad_id AS zaklad_id15 FROM produkt t0 WHERE t0.name_slug = ? AND t0.sku = ? AND t0.grupa_produktowa_id = ? LIMIT 1
  37. ERROR - Uncaught PHP Exception Symfony\Component\HttpKernel\Exception\NotFoundHttpException: "Unable to find Product entity." at /home/users/locja/public_html/locja.pl/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php line 251
  38. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
  39. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelRequest".
  40. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
  41. DEBUG - Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\SessionListener::onKernelRequest".
  42. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\FragmentListener::onKernelRequest".
  43. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
  44. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
  45. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\TranslatorListener::onKernelRequest".
  46. DEBUG - Notified event "kernel.request" to listener "Symfony\Component\Security\Http\Firewall::onKernelRequest".
  47. INFO - Using the "Twig_Extension_GlobalsInterface" class is deprecated since Twig version 2.7, use "Twig\Extension\GlobalsInterface" instead.
  48. INFO - The Sonata\CoreBundle\Twig\Extension\FlashMessageExtension class is deprecated since version 3.13.0 and will be removed in 4.0. Use Sonata\Twig\Extension\FlashMessageExtension instead.
  49. INFO - The Sonata\CoreBundle\FlashMessage\FlashManager class is deprecated since version 3.13.0 and will be removed in 4.0. Use Sonata\Twig\FlashMessage\FlashManager instead.
  50. INFO - Argument "flashManager" in FlashMessageExtension is deprecated since SonataCoreBundle 3.11.0 and will be removed in 4.0. Use the FlashMessageRuntime instead.
  51. INFO - Method "StatusExtension::addStatusService()" is deprecated since SonataCoreBundle 3.13.0 and will be removed in 4.0. Use the StatusRuntime instead.
  52. INFO - The "sonata.core.model.adapter.chain" service is deprecated in favor of service "sonata.doctrine.model.adapter.chain" since 3.12.0 and will be removed in 4.0.
  53. INFO - The Sonata\CoreBundle\Model\Adapter\AdapterChain class is deprecated since version 3.12.0 and will be removed in 4.0. Use Sonata\Doctrine\Adapter\AdapterChain instead.
  54. INFO - The "sonata.core.model.adapter.doctrine_orm" service is deprecated in favor of service "sonata.doctrine.adapter.doctrine_orm" since 3.12.0 and will be removed in 4.0.
  55. INFO - The Sonata\CoreBundle\Model\Adapter\DoctrineORMAdapter class is deprecated since version 3.12.0 and will be removed in 4.0. Use Sonata\Doctrine\Adapter\ORM\DoctrineORMAdapter instead.
  56. INFO - The Sonata\CoreBundle\Model\BaseEntityManager class is deprecated since version 3.12.0 and will be removed in 4.0. Use Sonata\Doctrine\Entity\BaseEntityManager instead.
  57. INFO - Using the "Twig_Loader_Array" class is deprecated since Twig version 2.7, use "Twig\Loader\ArrayLoader" instead.
  58. INFO - Using the "Twig_Extension_Sandbox" class is deprecated since Twig version 2.7, use "Twig\Extension\SandboxExtension" instead.
  59. INFO - Using the "Twig_Sandbox_SecurityPolicyInterface" class is deprecated since Twig version 2.7, use "Twig\Sandbox\SecurityPolicyInterface" instead.
  60. INFO - Using the "Twig_Lexer" class is deprecated since Twig version 2.7, use "Twig\Lexer" instead.
  61. DEBUG - Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
  62. DEBUG - Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
  63. DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController".
  64. DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController".
  65. DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelController".
  66. DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::onKernelController".
  67. DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController".

Stack Trace (Plain Text)  +