Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Bug]: Pimcore - Page not found. 500 (Internal Server Error) #13758

@salmanshafiq8630

Description

@salmanshafiq8630

Expected behavior

I have setup a website from live server to our local machine.

But there showing Page not found. 500 (Internal Server Error).

Pimcore version - 6.8
My PHP Version - 7.4
My MariaDB Version - 10.6

Actual behavior

In error logs showing

[2022-12-07 04:07:21] request.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\DriverException: "An exception occurred while executing 'SELECT PLUGIN_CMF_COLLECT_DOCUMENT_SEGMENT_ASSIGNMENTS(?)' with params [1]: SQLSTATE[42000]: Syntax error or access violation: 1305 FUNCTION blackbusinessatlas.PLUGIN_CMF_COLLECT_DOCUMENT_SEGMENT_ASSIGNMENTS does not exist" at /var/www/html/blackbusinessatlas/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 110 {"exception":"[object] (Doctrine\DBAL\Exception\DriverException(code: 0): An exception occurred while executing 'SELECT PLUGIN_CMF_COLLECT_DOCUMENT_SEGMENT_ASSIGNMENTS(?)' with params [1]:\n\nSQLSTATE[42000]: Syntax error or access violation: 1305 FUNCTION blackbusinessatlas.PLUGIN_CMF_COLLECT_DOCUMENT_SEGMENT_ASSIGNMENTS does not exist at /var/www/html/blackbusinessatlas/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:110, Doctrine\DBAL\Driver\PDOException(code: 42000): SQLSTATE[42000]: Syntax error or access violation: 1305 FUNCTION blackbusinessatlas.PLUGIN_CMF_COLLECT_DOCUMENT_SEGMENT_ASSIGNMENTS does not exist at /var/www/html/blackbusinessatlas/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:131, PDOException(code: 42000): SQLSTATE[42000]: Syntax error or access violation: 1305 FUNCTION blackbusinessatlas.PLUGIN_CMF_COLLECT_DOCUMENT_SEGMENT_ASSIGNMENTS does not exist at /var/www/html/blackbusinessatlas/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:129)"} []
[2022-12-07 04:07:21] app.ERROR: PDOException: SQLSTATE[42000]: Syntax error or access violation: 1305 FUNCTION blackbusinessatlas.PLUGIN_CMF_COLLECT_DOCUMENT_SEGMENT_ASSIGNMENTS does not exist in /var/www/html/blackbusinessatlas/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:129 Stack trace: #0 /var/www/html/blackbusinessatlas/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(129): PDOStatement->execute() #1 /var/www/html/blackbusinessatlas/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(906): Doctrine\DBAL\Driver\PDOStatement->execute() #2 /var/www/html/blackbusinessatlas/vendor/pimcore/pimcore/lib/Db/PimcoreExtensionsTrait.php(93): Doctrine\DBAL\Connection->executeQuery() #3 /var/www/html/blackbusinessatlas/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(588): Pimcore\Db\Connection->executeQuery() #4 /var/www/html/blackbusinessatlas/vendor/pimcore/customer-management-framework-bundle/src/SegmentAssignment/StoredFunctions/DefaultStoredFunctions.php(24): Doctrine\DBAL\Connection->fetchColumn() #5 /var/www/html/blackbusinessatlas/vendor/pimcore/customer-management-framework-bundle/src/SegmentManager/DefaultSegmentManager.php(159): CustomerManagementFrameworkBundle\SegmentAssignment\StoredFunctions\DefaultStoredFunctions->retrieve() #6 /var/www/html/blackbusinessatlas/vendor/pimcore/customer-management-framework-bundle/src/SegmentManager/DefaultSegmentManager.php(151): CustomerManagementFrameworkBundle\SegmentManager\DefaultSegmentManager->getSegmentsForElementId() #7 /var/www/html/blackbusinessatlas/vendor/pimcore/customer-management-framework-bundle/src/Targeting/EventListener/ElementSegmentsListener.php(111): CustomerManagementFrameworkBundle\SegmentManager\DefaultSegmentManager->getSegmentsForElement() #8 /var/www/html/blackbusinessatlas/vendor/pimcore/customer-management-framework-bundle/src/Targeting/EventListener/ElementSegmentsListener.php(76): CustomerManagementFrameworkBundle\Targeting\EventListener\ElementSegmentsListener->trackDocumentSegments() #9 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(304): CustomerManagementFrameworkBundle\Targeting\EventListener\ElementSegmentsListener->onTargetingPreResolve() #10 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(264): Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher{closure}() #11 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(239): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() #12 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(73): Symfony\Component\EventDispatcher\EventDispatcher->callListeners() #13 /var/www/html/blackbusinessatlas/vendor/pimcore/pimcore/lib/Targeting/VisitorInfoResolver.php(115): Symfony\Component\EventDispatcher\EventDispatcher->dispatch() #14 /var/www/html/blackbusinessatlas/vendor/pimcore/pimcore/lib/Targeting/EventListener/TargetingListener.php(137): Pimcore\Targeting\VisitorInfoResolver->resolve() #15 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(304): Pimcore\Targeting\EventListener\TargetingListener->onKernelRequest() #16 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(264): Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher{closure}() #17 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(239): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() #18 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(73): Symfony\Component\EventDispatcher\EventDispatcher->callListeners() #19 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(134): Symfony\Component\EventDispatcher\EventDispatcher->dispatch() #20 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(80): Symfony\Component\HttpKernel\HttpKernel->handleRaw() #21 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(201): Symfony\Component\HttpKernel\HttpKernel->handle() #22 /var/www/html/blackbusinessatlas/web/app.php(36): Symfony\Component\HttpKernel\Kernel->handle() #23 {main} Next Doctrine\DBAL\Driver\PDOException: SQLSTATE[42000]: Syntax error or access violation: 1305 FUNCTION blackbusinessatlas.PLUGIN_CMF_COLLECT_DOCUMENT_SEGMENT_ASSIGNMENTS does not exist in /var/www/html/blackbusinessatlas/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:131 Stack trace: #0 /var/www/html/blackbusinessatlas/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(906): Doctrine\DBAL\Driver\PDOStatement->execute() #1 /var/www/html/blackbusinessatlas/vendor/pimcore/pimcore/lib/Db/PimcoreExtensionsTrait.php(93): Doctrine\DBAL\Connection->executeQuery() #2 /var/www/html/blackbusinessatlas/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(588): Pimcore\Db\Connection->executeQuery() #3 /var/www/html/blackbusinessatlas/vendor/pimcore/customer-management-framework-bundle/src/SegmentAssignment/StoredFunctions/DefaultStoredFunctions.php(24): Doctrine\DBAL\Connection->fetchColumn() #4 /var/www/html/blackbusinessatlas/vendor/pimcore/customer-management-framework-bundle/src/SegmentManager/DefaultSegmentManager.php(159): CustomerManagementFrameworkBundle\SegmentAssignment\StoredFunctions\DefaultStoredFunctions->retrieve() #5 /var/www/html/blackbusinessatlas/vendor/pimcore/customer-management-framework-bundle/src/SegmentManager/DefaultSegmentManager.php(151): CustomerManagementFrameworkBundle\SegmentManager\DefaultSegmentManager->getSegmentsForElementId() #6 /var/www/html/blackbusinessatlas/vendor/pimcore/customer-management-framework-bundle/src/Targeting/EventListener/ElementSegmentsListener.php(111): CustomerManagementFrameworkBundle\SegmentManager\DefaultSegmentManager->getSegmentsForElement() #7 /var/www/html/blackbusinessatlas/vendor/pimcore/customer-management-framework-bundle/src/Targeting/EventListener/ElementSegmentsListener.php(76): CustomerManagementFrameworkBundle\Targeting\EventListener\ElementSegmentsListener->trackDocumentSegments() #8 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(304): CustomerManagementFrameworkBundle\Targeting\EventListener\ElementSegmentsListener->onTargetingPreResolve() #9 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(264): Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher{closure}() #10 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(239): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() #11 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(73): Symfony\Component\EventDispatcher\EventDispatcher->callListeners() #12 /var/www/html/blackbusinessatlas/vendor/pimcore/pimcore/lib/Targeting/VisitorInfoResolver.php(115): Symfony\Component\EventDispatcher\EventDispatcher->dispatch() #13 /var/www/html/blackbusinessatlas/vendor/pimcore/pimcore/lib/Targeting/EventListener/TargetingListener.php(137): Pimcore\Targeting\VisitorInfoResolver->resolve() #14 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(304): Pimcore\Targeting\EventListener\TargetingListener->onKernelRequest() #15 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(264): Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher{closure}() #16 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(239): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() #17 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(73): Symfony\Component\EventDispatcher\EventDispatcher->callListeners() #18 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(134): Symfony\Component\EventDispatcher\EventDispatcher->dispatch() #19 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(80): Symfony\Component\HttpKernel\HttpKernel->handleRaw() #20 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(201): Symfony\Component\HttpKernel\HttpKernel->handle() #21 /var/www/html/blackbusinessatlas/web/app.php(36): Symfony\Component\HttpKernel\Kernel->handle() #22 {main} Next Doctrine\DBAL\Exception\DriverException: An exception occurred while executing 'SELECT PLUGIN_CMF_COLLECT_DOCUMENT_SEGMENT_ASSIGNMENTS(?)' with params [1]: SQLSTATE[42000]: Syntax error or access violation: 1305 FUNCTION blackbusinessatlas.PLUGIN_CMF_COLLECT_DOCUMENT_SEGMENT_ASSIGNMENTS does not exist in /var/www/html/blackbusinessatlas/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:110 Stack trace: #0 /var/www/html/blackbusinessatlas/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(172): Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException() #1 /var/www/html/blackbusinessatlas/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(151): Doctrine\DBAL\DBALException::wrapException() #2 /var/www/html/blackbusinessatlas/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(918): Doctrine\DBAL\DBALException::driverExceptionDuringQuery() #3 /var/www/html/blackbusinessatlas/vendor/pimcore/pimcore/lib/Db/PimcoreExtensionsTrait.php(93): Doctrine\DBAL\Connection->executeQuery() #4 /var/www/html/blackbusinessatlas/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(588): Pimcore\Db\Connection->executeQuery() #5 /var/www/html/blackbusinessatlas/vendor/pimcore/customer-management-framework-bundle/src/SegmentAssignment/StoredFunctions/DefaultStoredFunctions.php(24): Doctrine\DBAL\Connection->fetchColumn() #6 /var/www/html/blackbusinessatlas/vendor/pimcore/customer-management-framework-bundle/src/SegmentManager/DefaultSegmentManager.php(159): CustomerManagementFrameworkBundle\SegmentAssignment\StoredFunctions\DefaultStoredFunctions->retrieve() #7 /var/www/html/blackbusinessatlas/vendor/pimcore/customer-management-framework-bundle/src/SegmentManager/DefaultSegmentManager.php(151): CustomerManagementFrameworkBundle\SegmentManager\DefaultSegmentManager->getSegmentsForElementId() #8 /var/www/html/blackbusinessatlas/vendor/pimcore/customer-management-framework-bundle/src/Targeting/EventListener/ElementSegmentsListener.php(111): CustomerManagementFrameworkBundle\SegmentManager\DefaultSegmentManager->getSegmentsForElement() #9 /var/www/html/blackbusinessatlas/vendor/pimcore/customer-management-framework-bundle/src/Targeting/EventListener/ElementSegmentsListener.php(76): CustomerManagementFrameworkBundle\Targeting\EventListener\ElementSegmentsListener->trackDocumentSegments() #10 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(304): CustomerManagementFrameworkBundle\Targeting\EventListener\ElementSegmentsListener->onTargetingPreResolve() #11 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(264): Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher{closure}() #12 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(239): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() #13 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(73): Symfony\Component\EventDispatcher\EventDispatcher->callListeners() #14 /var/www/html/blackbusinessatlas/vendor/pimcore/pimcore/lib/Targeting/VisitorInfoResolver.php(115): Symfony\Component\EventDispatcher\EventDispatcher->dispatch() #15 /var/www/html/blackbusinessatlas/vendor/pimcore/pimcore/lib/Targeting/EventListener/TargetingListener.php(137): Pimcore\Targeting\VisitorInfoResolver->resolve() #16 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(304): Pimcore\Targeting\EventListener\TargetingListener->onKernelRequest() #17 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(264): Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher{closure}() #18 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(239): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() #19 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(73): Symfony\Component\EventDispatcher\EventDispatcher->callListeners() #20 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(134): Symfony\Component\EventDispatcher\EventDispatcher->dispatch() #21 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(80): Symfony\Component\HttpKernel\HttpKernel->handleRaw() #22 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(201): Symfony\Component\HttpKernel\HttpKernel->handle() #23 /var/www/html/blackbusinessatlas/web/app.php(36): Symfony\Component\HttpKernel\Kernel->handle() #24 {main} [] []
[2022-12-07 04:07:21] app.EMERGENCY: Unable to render error page, exception thrown [] []
[2022-12-07 04:07:21] app.EMERGENCY: Symfony\Component\Filesystem\Exception\IOException: Failed to create "/var/www/html/blackbusinessatlas/var/cache/prod/translations": mkdir(): Permission denied in /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:105 Stack trace: #0 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php(678): Symfony\Component\Filesystem\Filesystem->mkdir() #1 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/Config/ResourceCheckerConfigCache.php(124): Symfony\Component\Filesystem\Filesystem->dumpFile() #2 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php(383): Symfony\Component\Config\ResourceCheckerConfigCache->write() #3 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php(348): Symfony\Component\Translation\Translator->dumpCatalogue() #4 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/Config/ResourceCheckerConfigCacheFactory.php(43): Symfony\Component\Translation\Translator->Symfony\Component\Translation{closure}() #5 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php(349): Symfony\Component\Config\ResourceCheckerConfigCacheFactory->cache() #6 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php(317): Symfony\Component\Translation\Translator->initializeCacheCatalogue() #7 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/Translation/Translator.php(293): Symfony\Component\Translation\Translator->loadCatalogue() #8 /var/www/html/blackbusinessatlas/vendor/pimcore/pimcore/lib/Translation/Translator.php(170): Symfony\Component\Translation\Translator->getCatalogue() #9 /var/www/html/blackbusinessatlas/vendor/pimcore/pimcore/lib/Translation/Translator.php(109): Pimcore\Translation\Translator->getCatalogue() #10 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Bridge/Twig/Extension/TranslationExtension.php(128): Pimcore\Translation\Translator->trans() #11 /var/www/html/blackbusinessatlas/var/cache/prod/twig/28/28b15c0f1ebcaa415ecf7dbc9a1acab66f28596ad13ef8e645e862901de71981.php(211): Symfony\Bridge\Twig\Extension\TranslationExtension->trans() #12 /var/www/html/blackbusinessatlas/vendor/twig/twig/src/Template.php(405): __TwigTemplate_f6d82b70394cb2e8aa2ce8a332c85c6b67810b60fa345e74f42f75ae73299043->doDisplay() #13 /var/www/html/blackbusinessatlas/vendor/twig/twig/src/Template.php(378): Twig\Template->displayWithErrorHandling() #14 /var/www/html/blackbusinessatlas/var/cache/prod/twig/f6/f6eddd47305678b5666826576db479e1488ae7a6ca5e4d292eb49824277b1548.php(42): Twig\Template->display() #15 /var/www/html/blackbusinessatlas/vendor/twig/twig/src/Template.php(405): __TwigTemplate_d3547ba8f3bcf033c846cae9bb4e4857f38fb79577a8d3528191ab831e5bc23d->doDisplay() #16 /var/www/html/blackbusinessatlas/vendor/twig/twig/src/Template.php(378): Twig\Template->displayWithErrorHandling() #17 /var/www/html/blackbusinessatlas/vendor/twig/twig/src/Template.php(390): Twig\Template->display() #18 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php(54): Twig\Template->render() #19 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php(53): Symfony\Bridge\Twig\TwigEngine->render() #20 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Templating/DelegatingEngine.php(55): Symfony\Bundle\TwigBundle\TwigEngine->renderResponse() #21 /var/www/html/blackbusinessatlas/vendor/pimcore/pimcore/bundles/CoreBundle/EventListener/LegacyTemplateListener.php(83): Symfony\Bundle\FrameworkBundle\Templating\DelegatingEngine->renderResponse() #22 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(304): Pimcore\Bundle\CoreBundle\EventListener\LegacyTemplateListener->onKernelView() #23 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(264): Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher{closure}() #24 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(239): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() #25 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(73): Symfony\Component\EventDispatcher\EventDispatcher->callListeners() #26 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(163): Symfony\Component\EventDispatcher\EventDispatcher->dispatch() #27 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(80): Symfony\Component\HttpKernel\HttpKernel->handleRaw() #28 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/SubRequestHandler.php(85): Symfony\Component\HttpKernel\HttpKernel->handle() #29 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Fragment/InlineFragmentRenderer.php(81): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle() #30 /var/www/html/blackbusinessatlas/vendor/pimcore/pimcore/lib/Document/Renderer/DocumentRenderer.php(145): Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer->render() #31 /var/www/html/blackbusinessatlas/vendor/pimcore/pimcore/bundles/CoreBundle/EventListener/ResponseExceptionListener.php(145): Pimcore\Document\Renderer\DocumentRenderer->render() #32 /var/www/html/blackbusinessatlas/vendor/pimcore/pimcore/bundles/CoreBundle/EventListener/ResponseExceptionListener.php(98): Pimcore\Bundle\CoreBundle\EventListener\ResponseExceptionListener->handleErrorPage() #33 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(304): Pimcore\Bundle\CoreBundle\EventListener\ResponseExceptionListener->onKernelException() #34 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(264): Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher{closure}() #35 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(239): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() #36 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(73): Symfony\Component\EventDispatcher\EventDispatcher->callListeners() #37 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(219): Symfony\Component\EventDispatcher\EventDispatcher->dispatch() #38 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(91): Symfony\Component\HttpKernel\HttpKernel->handleThrowable() #39 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(201): Symfony\Component\HttpKernel\HttpKernel->handle() #40 /var/www/html/blackbusinessatlas/web/app.php(36): Symfony\Component\HttpKernel\Kernel->handle() #41 {main} Next Twig\Error\RuntimeError: An exception has been thrown during the rendering of a template ("Failed to create "/var/www/html/blackbusinessatlas/var/cache/prod/translations": mkdir(): Permission denied"). in /var/www/html/blackbusinessatlas/app/Resources/views/layouts/layout.html.twig:76 Stack trace: #0 /var/www/html/blackbusinessatlas/vendor/twig/twig/src/Template.php(378): Twig\Template->displayWithErrorHandling() #1 /var/www/html/blackbusinessatlas/var/cache/prod/twig/f6/f6eddd47305678b5666826576db479e1488ae7a6ca5e4d292eb49824277b1548.php(42): Twig\Template->display() #2 /var/www/html/blackbusinessatlas/vendor/twig/twig/src/Template.php(405): __TwigTemplate_d3547ba8f3bcf033c846cae9bb4e4857f38fb79577a8d3528191ab831e5bc23d->doDisplay() #3 /var/www/html/blackbusinessatlas/vendor/twig/twig/src/Template.php(378): Twig\Template->displayWithErrorHandling() #4 /var/www/html/blackbusinessatlas/vendor/twig/twig/src/Template.php(390): Twig\Template->display() #5 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Bridge/Twig/TwigEngine.php(54): Twig\Template->render() #6 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Bundle/TwigBundle/TwigEngine.php(53): Symfony\Bridge\Twig\TwigEngine->render() #7 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Templating/DelegatingEngine.php(55): Symfony\Bundle\TwigBundle\TwigEngine->renderResponse() #8 /var/www/html/blackbusinessatlas/vendor/pimcore/pimcore/bundles/CoreBundle/EventListener/LegacyTemplateListener.php(83): Symfony\Bundle\FrameworkBundle\Templating\DelegatingEngine->renderResponse() #9 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(304): Pimcore\Bundle\CoreBundle\EventListener\LegacyTemplateListener->onKernelView() #10 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(264): Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher{closure}() #11 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(239): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() #12 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(73): Symfony\Component\EventDispatcher\EventDispatcher->callListeners() #13 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(163): Symfony\Component\EventDispatcher\EventDispatcher->dispatch() #14 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(80): Symfony\Component\HttpKernel\HttpKernel->handleRaw() #15 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/SubRequestHandler.php(85): Symfony\Component\HttpKernel\HttpKernel->handle() #16 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Fragment/InlineFragmentRenderer.php(81): Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle() #17 /var/www/html/blackbusinessatlas/vendor/pimcore/pimcore/lib/Document/Renderer/DocumentRenderer.php(145): Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer->render() #18 /var/www/html/blackbusinessatlas/vendor/pimcore/pimcore/bundles/CoreBundle/EventListener/ResponseExceptionListener.php(145): Pimcore\Document\Renderer\DocumentRenderer->render() #19 /var/www/html/blackbusinessatlas/vendor/pimcore/pimcore/bundles/CoreBundle/EventListener/ResponseExceptionListener.php(98): Pimcore\Bundle\CoreBundle\EventListener\ResponseExceptionListener->handleErrorPage() #20 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(304): Pimcore\Bundle\CoreBundle\EventListener\ResponseExceptionListener->onKernelException() #21 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(264): Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher{closure}() #22 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(239): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch() #23 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php(73): Symfony\Component\EventDispatcher\EventDispatcher->callListeners() #24 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(219): Symfony\Component\EventDispatcher\EventDispatcher->dispatch() #25 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php(91): Symfony\Component\HttpKernel\HttpKernel->handleThrowable() #26 /var/www/html/blackbusinessatlas/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php(201): Symfony\Component\HttpKernel\HttpKernel->handle() #27 /var/www/html/blackbusinessatlas/web/app.php(36): Symfony\Component\HttpKernel\Kernel->handle() #28 {main} [] []

Steps to reproduce

I have download project zip file and db dum.

I have cleared all cache.

My composer.json

{
"name": "pimcore/demo",
"type": "project",
"description": "Black Business Atlas",
"license": "GPL-3.0-or-later",
"config": {
"optimize-autoloader": true,
"sort-packages": true
},
"require": {
"php": ">=7.2",
"heidelpay/heidelpay-php": "1.2.5.1",
"hwi/oauth-bundle": "^1.3",
"knplabs/knp-paginator-bundle": "^5.4",
"php-http/guzzle6-adapter": "^2.0",
"php-http/httplug-bundle": "^1.2",
"pimcore/customer-management-framework-bundle": "^2.2",
"pimcore/data-hub": "dev-master",
"pimcore/pimcore": "~6.8.0",
"pimcore/web2print-tools-bundle": "^3.1",
"stripe/stripe-php": "^7.79",
"symfony/uid": "^5.2",
"twig/intl-extra": "^3.3"
},
"require-dev": {
"cache/integration-tests": "^0.16.0",
"codeception/codeception": "~2.4.5"
},
"autoload": {
"psr-4": {
"": ["src/"],
"Pimcore\Model\DataObject\": "var/classes/DataObject",
"Pimcore\Model\Object\": "var/classes/Object",
"Website\": "legacy/website/lib"
},
"classmap": [
"app/AppKernel.php"
]
},
"scripts": {
"post-create-project-cmd": "Pimcore\Composer::postCreateProject",
"post-install-cmd": [
"Pimcore\Composer::postInstall",
"@pimcore-scripts"
],
"post-update-cmd": [
"Pimcore\Composer::postUpdate",
"@pimcore-scripts",
"Pimcore\Composer::executeMigrationsUp",
"@pimcore-scripts"
],
"pimcore-scripts": [
"Pimcore\Composer::clearCache",
"Pimcore\Composer::installAssets"
]
},
"extra": {
"symfony-app-dir": "app",
"symfony-bin-dir": "bin",
"symfony-var-dir": "var",
"symfony-web-dir": "web",
"symfony-tests-dir": "tests",
"symfony-assets-install": "relative"
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions