Exception information:

Class Doctrine\DBAL\DBALException

Message: An exception occurred while executing 'SELECT c0_.id AS id0, c0_.branch_id AS branch_id1, c0_.organisation_number AS organisation_number2, c0_.name AS name3, c0_.description AS description4, c0_.first_address AS first_address5, c0_.second_address AS second_address6, c0_.zipcode AS zipcode7, c0_.district AS district8, c0_.homepage AS homepage9, c0_.email AS email10, c0_.trademark AS trademark11, c0_.units AS units12, c0_.investment_capital AS investment_capital13, c0_.toll AS toll14, c0_.contact_name AS contact_name15, c0_.contact_phone AS contact_phone16, c0_.contact_email AS contact_email17, c0_.has_logo AS has_logo18, c0_.created_at AS created_at19, c0_.updated_at AS updated_at20, c0_.deleted_at AS deleted_at21, m1_.id AS id22, m1_.name AS name23, c0_.branch_id AS branch_id24 FROM companies c0_ INNER JOIN company_municipality_references c2_ ON c0_.id = c2_.company_id INNER JOIN municipalities m1_ ON m1_.id = c2_.municipality_id WHERE c0_.has_logo = 1 ORDER BY c0_.updated_at DESC': SQLSTATE[HY000]: General error: 1030 Got error 122 from storage engine

Stack trace:

#0 /opt/franchise/library/Doctrine/DBAL/Connection.php(649): Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Object(PDOException), 'SELECT c0_.id A...', Array)
#1 /opt/franchise/library/Doctrine/ORM/Query/Exec/SingleSelectExecutor.php(46): Doctrine\DBAL\Connection->executeQuery('SELECT c0_.id A...', Array, Array, NULL)
#2 /opt/franchise/library/Doctrine/ORM/Query.php(264): Doctrine\ORM\Query\Exec\SingleSelectExecutor->execute(Object(Doctrine\DBAL\Connection), Array, Array)
#3 /opt/franchise/library/Doctrine/ORM/AbstractQuery.php(737): Doctrine\ORM\Query->_doExecute()
#4 /opt/franchise/library/PMG/Entity/Repository/AbstractRepository.php(354): Doctrine\ORM\AbstractQuery->execute()
#5 /opt/franchise/library/App/EntityRepository/Franchise/Company.php(99): PMG\Entity\Repository\AbstractRepository->getQueryResult(Object(Doctrine\ORM\QueryBuilder), Object(PMG\Entity\Repository\QueryRequirements))
#6 /opt/franchise/library/App/Service/Franchise/Company.php(468): App\EntityRepository\Franchise\Company->fetchAll(Object(PMG\Entity\Repository\QueryRequirements), Array, true)
#7 /opt/franchise/modules/index/controllers/IndexController.php(53): App\Service\Franchise\Company->fetchAll(Array, Array)
#8 /opt/franchise/library/Zend/Controller/Action.php(513): IndexController->indexAction()
#9 /opt/franchise/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('indexAction')
#10 /opt/franchise/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#11 /opt/franchise/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#12 /opt/franchise/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#13 /opt/franchise/public/index.php(37): Zend_Application->run()
#14 {main}	  

Request Parameters:

array (
  'controller' => 'index',
  'action' => 'index',
  'module' => 'index',
)

Följ oss