Mage_Eav_Model_Entity_Attribute_Exception Object
(
    [message:protected] => SQLSTATE[08S01]: Communication link failure: 1053 Server shutdown in progress, query was: SELECT `main`.`value_id`, `main`.`value` AS `file`, `main`.`entity_id` AS `product_id`, `value`.`label`, `value`.`position`, `value`.`disabled`, `default_value`.`label` AS `label_default`, `default_value`.`position` AS `position_default`, `default_value`.`disabled` AS `disabled_default` FROM `catalog_product_entity_media_gallery` AS `main`
 LEFT JOIN `catalog_product_entity_media_gallery_value` AS `value` ON main.value_id = value.value_id AND value.store_id = 1
 LEFT JOIN `catalog_product_entity_media_gallery_value` AS `default_value` ON main.value_id = default_value.value_id AND default_value.store_id = 0 WHERE (main.attribute_id = 88) AND (main.entity_id in (617)) ORDER BY IF(value.position IS NULL, default_value.position, value.position) ASC
    [string:Exception:private] => 
    [code:protected] => 0
    [file:protected] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Model\Config.php
    [line:protected] => 1357
    [trace:Exception:private] => Array
        (
            [0] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\Mage.php
                    [line] => 477
                    [function] => getModelInstance
                    [class] => Mage_Core_Model_Config
                    [type] => ->
                )

            [1] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Eav\Model\Entity\Abstract.php
                    [line] => 661
                    [function] => getModel
                    [class] => Mage
                    [type] => ::
                )

            [2] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Eav\Model\Entity\Abstract.php
                    [line] => 1641
                    [function] => walkAttributes
                    [class] => Mage_Eav_Model_Entity_Abstract
                    [type] => ->
                )

            [3] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Eav\Model\Entity\Abstract.php
                    [line] => 964
                    [function] => _afterLoad
                    [class] => Mage_Eav_Model_Entity_Abstract
                    [type] => ->
                )

            [4] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Catalog\Model\Resource\Abstract.php
                    [line] => 698
                    [function] => load
                    [class] => Mage_Eav_Model_Entity_Abstract
                    [type] => ->
                )

            [5] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Model\Abstract.php
                    [line] => 225
                    [function] => load
                    [class] => Mage_Catalog_Model_Resource_Abstract
                    [type] => ->
                )

            [6] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\design\frontend\astor2016\default\template\catalog\product\list-full.phtml
                    [line] => 376
                    [function] => load
                    [class] => Mage_Core_Model_Abstract
                    [type] => ->
                )

            [7] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\local\Mage\Core\Block\Template.php
                    [line] => 241
                    [args] => Array
                        (
                            [0] => I:\WWW\Sklep_www4\app\design\frontend\astor2016\default\template\catalog\product\list-full.phtml
                        )

                    [function] => include
                )

            [8] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\local\Mage\Core\Block\Template.php
                    [line] => 272
                    [function] => fetchView
                    [class] => Mage_Core_Block_Template
                    [type] => ->
                )

            [9] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\local\Mage\Core\Block\Template.php
                    [line] => 287
                    [function] => renderView
                    [class] => Mage_Core_Block_Template
                    [type] => ->
                )

            [10] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Block\Abstract.php
                    [line] => 923
                    [function] => _toHtml
                    [class] => Mage_Core_Block_Template
                    [type] => ->
                )

            [11] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Block\Abstract.php
                    [line] => 641
                    [function] => toHtml
                    [class] => Mage_Core_Block_Abstract
                    [type] => ->
                )

            [12] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Block\Abstract.php
                    [line] => 585
                    [function] => _getChildHtml
                    [class] => Mage_Core_Block_Abstract
                    [type] => ->
                )

            [13] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Catalog\Block\Category\View.php
                    [line] => 90
                    [function] => getChildHtml
                    [class] => Mage_Core_Block_Abstract
                    [type] => ->
                )

            [14] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\design\frontend\astor2016\default\template\catalog\category\view.phtml
                    [line] => 116
                    [function] => getProductListHtml
                    [class] => Mage_Catalog_Block_Category_View
                    [type] => ->
                )

            [15] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\local\Mage\Core\Block\Template.php
                    [line] => 241
                    [args] => Array
                        (
                            [0] => I:\WWW\Sklep_www4\app\design\frontend\astor2016\default\template\catalog\category\view.phtml
                        )

                    [function] => include
                )

            [16] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\local\Mage\Core\Block\Template.php
                    [line] => 272
                    [function] => fetchView
                    [class] => Mage_Core_Block_Template
                    [type] => ->
                )

            [17] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\local\Mage\Core\Block\Template.php
                    [line] => 287
                    [function] => renderView
                    [class] => Mage_Core_Block_Template
                    [type] => ->
                )

            [18] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Block\Abstract.php
                    [line] => 923
                    [function] => _toHtml
                    [class] => Mage_Core_Block_Template
                    [type] => ->
                )

            [19] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Block\Text\List.php
                    [line] => 43
                    [function] => toHtml
                    [class] => Mage_Core_Block_Abstract
                    [type] => ->
                )

            [20] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Block\Abstract.php
                    [line] => 923
                    [function] => _toHtml
                    [class] => Mage_Core_Block_Text_List
                    [type] => ->
                )

            [21] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Block\Abstract.php
                    [line] => 641
                    [function] => toHtml
                    [class] => Mage_Core_Block_Abstract
                    [type] => ->
                )

            [22] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Block\Abstract.php
                    [line] => 585
                    [function] => _getChildHtml
                    [class] => Mage_Core_Block_Abstract
                    [type] => ->
                )

            [23] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\design\frontend\astor2016\default\template\page\2columns-left.phtml
                    [line] => 34
                    [function] => getChildHtml
                    [class] => Mage_Core_Block_Abstract
                    [type] => ->
                )

            [24] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\local\Mage\Core\Block\Template.php
                    [line] => 241
                    [args] => Array
                        (
                            [0] => I:\WWW\Sklep_www4\app\design\frontend\astor2016\default\template\page\2columns-left.phtml
                        )

                    [function] => include
                )

            [25] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\local\Mage\Core\Block\Template.php
                    [line] => 272
                    [function] => fetchView
                    [class] => Mage_Core_Block_Template
                    [type] => ->
                )

            [26] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\local\Mage\Core\Block\Template.php
                    [line] => 287
                    [function] => renderView
                    [class] => Mage_Core_Block_Template
                    [type] => ->
                )

            [27] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Block\Abstract.php
                    [line] => 923
                    [function] => _toHtml
                    [class] => Mage_Core_Block_Template
                    [type] => ->
                )

            [28] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Model\Layout.php
                    [line] => 695
                    [function] => toHtml
                    [class] => Mage_Core_Block_Abstract
                    [type] => ->
                )

            [29] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Controller\Varien\Action.php
                    [line] => 390
                    [function] => getOutput
                    [class] => Mage_Core_Model_Layout
                    [type] => ->
                )

            [30] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Catalog\controllers\CategoryController.php
                    [line] => 161
                    [function] => renderLayout
                    [class] => Mage_Core_Controller_Varien_Action
                    [type] => ->
                )

            [31] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Controller\Varien\Action.php
                    [line] => 420
                    [function] => viewAction
                    [class] => Mage_Catalog_CategoryController
                    [type] => ->
                )

            [32] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Controller\Varien\Router\Standard.php
                    [line] => 254
                    [function] => dispatch
                    [class] => Mage_Core_Controller_Varien_Action
                    [type] => ->
                )

            [33] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Controller\Varien\Front.php
                    [line] => 172
                    [function] => match
                    [class] => Mage_Core_Controller_Varien_Router_Standard
                    [type] => ->
                )

            [34] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\code\core\Mage\Core\Model\App.php
                    [line] => 381
                    [function] => dispatch
                    [class] => Mage_Core_Controller_Varien_Front
                    [type] => ->
                )

            [35] => Array
                (
                    [file] => I:\WWW\Sklep_www4\app\Mage.php
                    [line] => 698
                    [function] => run
                    [class] => Mage_Core_Model_App
                    [type] => ->
                )

            [36] => Array
                (
                    [file] => I:\WWW\Sklep_www4\index.php
                    [line] => 104
                    [function] => run
                    [class] => Mage
                    [type] => ::
                )

        )

    [previous:Exception:private] => 
    [_attributeCode:protected] => media_gallery
    [_part:protected] => backend
)

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away in I:\WWW\Sklep_www4\lib\Zend\Db\Statement\Pdo.php:228 Stack trace: #0 I:\WWW\Sklep_www4\lib\Zend\Db\Statement\Pdo.php(228): PDOStatement->execute() #1 I:\WWW\Sklep_www4\lib\Varien\Db\Statement\Pdo\Mysql.php(110): Zend_Db_Statement_Pdo->_execute() #2 I:\WWW\Sklep_www4\app\code\core\Zend\Db\Statement.php(291): Varien_Db_Statement_Pdo_Mysql->_execute() #3 I:\WWW\Sklep_www4\lib\Zend\Db\Adapter\Abstract.php(480): Zend_Db_Statement->execute() #4 I:\WWW\Sklep_www4\lib\Zend\Db\Adapter\Pdo\Abstract.php(238): Zend_Db_Adapter_Abstract->query() #5 I:\WWW\Sklep_www4\lib\Varien\Db\Adapter\Pdo\Mysql.php(504): Zend_Db_Adapter_Pdo_Abstract->query() #6 I:\WWW\Sklep_www4\lib\Zend\Db\Adapter\Abstract.php(828): Varien_Db_Adapter_Pdo_Mysql->query() #7 I:\WWW\Sklep_www4\app\code\local\Mage\Core\Model\Resource\Session.php(239): Zend_Db_Adapter_Abstract->fetchOne() #8 [internal function]: Mage_Core_Model_Resource_Session->write() #9 I:\WWW\Sklep_www4\app\code\local\Mage\Core\Model\Resource\Session.php(97): session_write_close() #10 [internal function]: Mage_Core_Model_Resource_Session->__destruct() #11 {main} Next Zend_Db_Statement_Exception: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away, query was: SELECT `core_session`.* FROM `core_session` WHERE (session_id = :session_id) in I:\WWW\Sklep_www4\lib\Zend\Db\Statement\Pdo.php:235 Stack trace: #0 I:\WWW\Sklep_www4\lib\Varien\Db\Statement\Pdo\Mysql.php(110): Zend_Db_Statement_Pdo->_execute() #1 I:\WWW\Sklep_www4\app\code\core\Zend\Db\Statement.php(291): Varien_Db_Statement_Pdo_Mysql->_execute() #2 I:\WWW\Sklep_www4\lib\Zend\Db\Adapter\Abstract.php(480): Zend_Db_Statement->execute() #3 I:\WWW\Sklep_www4\lib\Zend\Db\Adapter\Pdo\Abstract.php(238): Zend_Db_Adapter_Abstract->query() #4 I:\WWW\Sklep_www4\lib\Varien\Db\Adapter\Pdo\Mysql.php(504): Zend_Db_Adapter_Pdo_Abstract->query() #5 I:\WWW\Sklep_www4\lib\Zend\Db\Adapter\Abstract.php(828): Varien_Db_Adapter_Pdo_Mysql->query() #6 I:\WWW\Sklep_www4\app\code\local\Mage\Core\Model\Resource\Session.php(239): Zend_Db_Adapter_Abstract->fetchOne() #7 [internal function]: Mage_Core_Model_Resource_Session->write() #8 I:\WWW\Sklep_www4\app\code\local\Mage\Core\Model\Resource\Session.php(97): session_write_close() #9 [internal function]: Mage_Core_Model_Resource_Session->__destruct() #10 {main} thrown in I:\WWW\Sklep_www4\lib\Zend\Db\Statement\Pdo.php on line 235