Unable to find Product entity.
404 Not Found - NotFoundHttpException
Stack Trace
-
in vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php at line 251
*/
public function createNotFoundException($message = 'Not Found', \Exception $previous = null)
{
return new NotFoundHttpException($message, $previous);
}
/**
-
at
Controller
->createNotFoundException
('Unable to find Product entity.')
in src/Os/LocjaBundle/Controller/ProductController.php at line 877 -
at
ProductController
->showAction
('cegla-ceramiczna-pelna-kat-ii-kl-15', 'ElMur-980', 'ceramika')
in app/bootstrap.php.cache at line 3276 -
at
HttpKernel
->handleRaw
(object(Request), '1')
in app/bootstrap.php.cache at line 3235 -
at
HttpKernel
->handle
(object(Request), '1', true)
in app/bootstrap.php.cache at line 3389 -
at
ContainerAwareHttpKernel
->handle
(object(Request), '1', true)
in app/bootstrap.php.cache at line 2594 -
at
Kernel
->handle
(object(Request))
in web/app.php at line 29
- INFO - Matched route "product_show".
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- INFO - Populated the TokenStorage with an anonymous Token.
- DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
- DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelRequest".
- DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
- DEBUG - Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\SessionListener::onKernelRequest".
- DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\FragmentListener::onKernelRequest".
- DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
- DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
- DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\TranslatorListener::onKernelRequest".
- DEBUG - Notified event "kernel.request" to listener "Symfony\Component\Security\Http\Firewall::onKernelRequest".
- DEBUG - Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
- DEBUG - Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
- DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController".
- DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController".
- DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelController".
- DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::onKernelController".
- DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController".
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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
- 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
- DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
- DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelRequest".
- DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
- DEBUG - Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\SessionListener::onKernelRequest".
- DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\FragmentListener::onKernelRequest".
- DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
- DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
- DEBUG - Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\TranslatorListener::onKernelRequest".
- DEBUG - Notified event "kernel.request" to listener "Symfony\Component\Security\Http\Firewall::onKernelRequest".
- INFO - Using the "Twig_Extension_GlobalsInterface" class is deprecated since Twig version 2.7, use "Twig\Extension\GlobalsInterface" instead.
- 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.
- 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.
- INFO - Argument "flashManager" in FlashMessageExtension is deprecated since SonataCoreBundle 3.11.0 and will be removed in 4.0. Use the FlashMessageRuntime instead.
- INFO - Method "StatusExtension::addStatusService()" is deprecated since SonataCoreBundle 3.13.0 and will be removed in 4.0. Use the StatusRuntime instead.
- 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.
- 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.
- 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.
- 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.
- 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.
- INFO - Using the "Twig_Loader_Array" class is deprecated since Twig version 2.7, use "Twig\Loader\ArrayLoader" instead.
- INFO - Using the "Twig_Extension_Sandbox" class is deprecated since Twig version 2.7, use "Twig\Extension\SandboxExtension" instead.
- INFO - Using the "Twig_Sandbox_SecurityPolicyInterface" class is deprecated since Twig version 2.7, use "Twig\Sandbox\SecurityPolicyInterface" instead.
- INFO - Using the "Twig_Lexer" class is deprecated since Twig version 2.7, use "Twig\Lexer" instead.
- DEBUG - Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
- DEBUG - Notified event "kernel.controller" to listener "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController".
- DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController".
- DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController".
- DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelController".
- DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::onKernelController".
- DEBUG - Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController".