Ошибка

An error occurred during execution; please try again later.


Additional information:

Doctrine\DBAL\Exception\DriverException

File:
/home/ompural/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:106
Message:
An exception occurred while executing 'SELECT t0.id AS id_1, t0.name AS name_2, t0.shortName AS shortName_3, t0.isMuseum AS isMuseum_4, t0.address AS address_5, t0.phones AS phones_6, t0.emails AS emails_7, t0.workTime AS workTime_8, t0.content AS content_9, t0.priority AS priority_10, t0.isActive AS isActive_11, AsBinary(t0.location) AS location_12, t0.ballonContent AS ballonContent_13, t0.riderLink AS riderLink_14, t0.photo_id AS photo_id_15, t0.albumId AS albumId_16 FROM WM2_Office t0 WHERE t0.id = ?' with params [8]:

SQLSTATE[42000]: Syntax error or access violation: 1305 FUNCTION ompural.AsBinary does not exist
Stack trace:
#0 /home/ompural/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(169): Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException('An exception oc...', Object(Doctrine\DBAL\Driver\PDOException))
#1 /home/ompural/vendor/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(145): Doctrine\DBAL\DBALException::wrapException(Object(Doctrine\DBAL\Driver\PDOMySql\Driver), Object(Doctrine\DBAL\Driver\PDOException), 'An exception oc...')
#2 /home/ompural/vendor/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(911): Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Object(Doctrine\DBAL\Driver\PDOMySql\Driver), Object(Doctrine\DBAL\Driver\PDOException), 'SELECT t0.id AS...', Array)
#3 /home/ompural/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(733): Doctrine\DBAL\Connection->executeQuery('SELECT t0.id AS...', Array, Array)
#4 /home/ompural/vendor/doctrine/orm/lib/Doctrine/ORM/Persisters/Entity/BasicEntityPersister.php(751): Doctrine\ORM\Persisters\Entity\BasicEntityPersister->load(Array, Object(DoctrineORMModule\Proxy\__CG__\WmOffice\Entity\Office))
#5 /home/ompural/vendor/doctrine/orm/lib/Doctrine/ORM/Proxy/ProxyFactory.php(157): Doctrine\ORM\Persisters\Entity\BasicEntityPersister->loadById(Array, Object(DoctrineORMModule\Proxy\__CG__\WmOffice\Entity\Office))
#6 /home/ompural/data/DoctrineORMModule/Proxy/__CG__WmOfficeEntityOffice.php(208): Doctrine\ORM\Proxy\ProxyFactory->Doctrine\ORM\Proxy\{closure}(Object(DoctrineORMModule\Proxy\__CG__\WmOffice\Entity\Office), 'getName', Array)
#7 /home/ompural/data/DoctrineORMModule/Proxy/__CG__WmOfficeEntityOffice.php(208): Closure->__invoke(Object(DoctrineORMModule\Proxy\__CG__\WmOffice\Entity\Office), 'getName', Array)
#8 /home/ompural/module/WmActivity/view/wm-activity/front/programm/default/index.phtml(28): DoctrineORMModule\Proxy\__CG__\WmOffice\Entity\Office->getName()
#9 /home/ompural/vendor/zendframework/zend-view/src/Renderer/PhpRenderer.php(506): include('/home/ompural/m...')
#10 /home/ompural/vendor/webmotor/wm-main/src/WmMain/Controller/AbstractController.php(295): Zend\View\Renderer\PhpRenderer->render(NULL)
#11 /home/ompural/vendor/zendframework/zend-eventmanager/src/EventManager.php(322): WmMain\Controller\AbstractController->onDispatch(Object(Zend\Mvc\MvcEvent))
#12 /home/ompural/vendor/zendframework/zend-eventmanager/src/EventManager.php(179): Zend\EventManager\EventManager->triggerListeners(Object(Zend\Mvc\MvcEvent), Object(Closure))
#13 /home/ompural/vendor/zendframework/zend-mvc/src/Controller/AbstractController.php(106): Zend\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Zend\Mvc\MvcEvent))
#14 /home/ompural/vendor/zendframework/zend-mvc/src/DispatchListener.php(138): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response))
#15 /home/ompural/vendor/zendframework/zend-eventmanager/src/EventManager.php(322): Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
#16 /home/ompural/vendor/zendframework/zend-eventmanager/src/EventManager.php(179): Zend\EventManager\EventManager->triggerListeners(Object(Zend\Mvc\MvcEvent), Object(Closure))
#17 /home/ompural/vendor/zendframework/zend-mvc/src/Application.php(332): Zend\EventManager\EventManager->triggerEventUntil(Object(Closure), Object(Zend\Mvc\MvcEvent))
#18 /home/ompural/public/index.php(47): Zend\Mvc\Application->run()
#19 {main}

Previous exceptions: