Erro ao inicializar!
SQLSTATE[HY000]: General error: 2006 MySQL server has gone away, query was: SELECT `categorias`.* FROM `categorias` WHERE (status = 1 AND id_pai = 0) ORDER BY `ordem` ASC LIMIT 5#0 \\WINDOWS-PD-0001.FS.LOCAWEB.COM.BR\WNFS-0001\casalindaud\web\vendor\zendframework\zendframework1\library\Zend\Db\Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array) #1 \\WINDOWS-PD-0001.FS.LOCAWEB.COM.BR\WNFS-0001\casalindaud\web\vendor\zendframework\zendframework1\library\Zend\Db\Adapter\Abstract.php(480): Zend_Db_Statement->execute(Array) #2 \\WINDOWS-PD-0001.FS.LOCAWEB.COM.BR\WNFS-0001\casalindaud\web\vendor\zendframework\zendframework1\library\Zend\Db\Adapter\Pdo\Abstract.php(238): Zend_Db_Adapter_Abstract->query(Object(Zend_Db_Table_Select), Array) #3 \\WINDOWS-PD-0001.FS.LOCAWEB.COM.BR\WNFS-0001\casalindaud\web\vendor\zendframework\zendframework1\library\Zend\Db\Table\Abstract.php(1577): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Table_Select)) #4 \\WINDOWS-PD-0001.FS.LOCAWEB.COM.BR\WNFS-0001\casalindaud\web\vendor\zendframework\zendframework1\library\Zend\Db\Table\Abstract.php(1392): Zend_Db_Table_Abstract->_fetch(Object(Zend_Db_Table_Select)) #5 \\WINDOWS-PD-0001.FS.LOCAWEB.COM.BR\WNFS-0001\casalindaud\web\application\modules\site\views\helpers\Categorias.php(357): Zend_Db_Table_Abstract->fetchAll('status = 1 AND ...', 'ordem', 5) #6 \\WINDOWS-PD-0001.FS.LOCAWEB.COM.BR\WNFS-0001\casalindaud\web\application\modules\site\layouts\scripts\header.phtml(63): Zend_View_Helper_Categorias->getAllLinhas() #7 \\WINDOWS-PD-0001.FS.LOCAWEB.COM.BR\WNFS-0001\casalindaud\web\vendor\zendframework\zendframework1\library\Zend\View.php(157): include('\\\\WINDOWS-PD-00...') #8 \\WINDOWS-PD-0001.FS.LOCAWEB.COM.BR\WNFS-0001\casalindaud\web\vendor\zendframework\zendframework1\library\Zend\View\Abstract.php(888): Zend_View->_run('\\\\WINDOWS-PD-00...') #9 \\WINDOWS-PD-0001.FS.LOCAWEB.COM.BR\WNFS-0001\casalindaud\web\application\modules\site\layouts\scripts\layout.phtml(105): Zend_View_Abstract->render('header.phtml') #10 \\WINDOWS-PD-0001.FS.LOCAWEB.COM.BR\WNFS-0001\casalindaud\web\vendor\zendframework\zendframework1\library\Zend\View.php(157): include('\\\\WINDOWS-PD-00...') #11 \\WINDOWS-PD-0001.FS.LOCAWEB.COM.BR\WNFS-0001\casalindaud\web\vendor\zendframework\zendframework1\library\Zend\View\Abstract.php(888): Zend_View->_run('\\\\WINDOWS-PD-00...') #12 \\WINDOWS-PD-0001.FS.LOCAWEB.COM.BR\WNFS-0001\casalindaud\web\vendor\zendframework\zendframework1\library\Zend\Layout.php(796): Zend_View_Abstract->render('layout.phtml') #13 \\WINDOWS-PD-0001.FS.LOCAWEB.COM.BR\WNFS-0001\casalindaud\web\vendor\zendframework\zendframework1\library\Zend\Layout\Controller\Plugin\Layout.php(143): Zend_Layout->render() #14 \\WINDOWS-PD-0001.FS.LOCAWEB.COM.BR\WNFS-0001\casalindaud\web\vendor\zendframework\zendframework1\library\Zend\Controller\Plugin\Broker.php(333): Zend_Layout_Controller_Plugin_Layout->postDispatch(Object(Zend_Controller_Request_Http)) #15 \\WINDOWS-PD-0001.FS.LOCAWEB.COM.BR\WNFS-0001\casalindaud\web\vendor\zendframework\zendframework1\library\Zend\Controller\Front.php(965): Zend_Controller_Plugin_Broker->postDispatch(Object(Zend_Controller_Request_Http)) #16 \\WINDOWS-PD-0001.FS.LOCAWEB.COM.BR\WNFS-0001\casalindaud\web\vendor\zendframework\zendframework1\library\Zend\Application\Bootstrap\Bootstrap.php(105): Zend_Controller_Front->dispatch() #17 \\WINDOWS-PD-0001.FS.LOCAWEB.COM.BR\WNFS-0001\casalindaud\web\vendor\zendframework\zendframework1\library\Zend\Application.php(384): Zend_Application_Bootstrap_Bootstrap->run() #18 \\WINDOWS-PD-0001.FS.LOCAWEB.COM.BR\WNFS-0001\casalindaud\web\index.php(47): Zend_Application->run() #19 {main}