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, a1_.id AS id22, a1_.user_id AS user_id23, a1_.company_id AS company_id24, a1_.category_id AS category_id25, a1_.topic AS topic26, a1_.intro AS intro27, a1_.body AS body28, a1_.fact AS fact29, a1_.image_author AS image_author30, a1_.published_at AS published_at31, a1_.created_at AS created_at32, a1_.updated_at AS updated_at33, a1_.deleted_at AS deleted_at34, c0_.branch_id AS branch_id35, a1_.company_id AS company_id36, a1_.category_id AS category_id37, a1_.user_id AS user_id38 FROM companies c0_ LEFT JOIN articles a1_ ON c0_.id = a1_.company_id WHERE c0_.id = 197 ORDER BY a1_.published_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/Doctrine/ORM/AbstractQuery.php(606): Doctrine\ORM\AbstractQuery->execute(NULL, NULL)
#5 /opt/franchise/library/PMG/Entity/Repository/AbstractRepository.php(351): Doctrine\ORM\AbstractQuery->getSingleResult()
#6 /opt/franchise/library/PMG/Entity/Repository/AbstractRepository.php(380): PMG\Entity\Repository\AbstractRepository->getQueryResult(Object(Doctrine\ORM\QueryBuilder), Object(PMG\Entity\Repository\QueryRequirements), 0)
#7 /opt/franchise/library/App/Service/Franchise/Company.php(99): PMG\Entity\Repository\AbstractRepository->findOneBy(Array, Object(PMG\Entity\Repository\QueryRequirements))
#8 /opt/franchise/modules/franchise/controllers/FranchiseController.php(100): App\Service\Franchise\Company->getById(197, Array)
#9 /opt/franchise/library/Zend/Controller/Action.php(513): Franchise_FranchiseController->viewAction()
#10 /opt/franchise/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('viewAction')
#11 /opt/franchise/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#12 /opt/franchise/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch()
#13 /opt/franchise/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#14 /opt/franchise/public/index.php(37): Zend_Application->run()
#15 {main}	  

Request Parameters:

array (
  'name' => 'itrim_sverige',
  'id' => '197',
  'module' => 'franchise',
  'controller' => 'franchise',
  'action' => 'view',
)

Följ oss